Class (GI Struct)

GLib-2.0GLibHookList

The GLib.HookList struct represents a list of hook functions.

Index

Constructors

Properties

dummy: any[]
dummy3: any
finalize_hook: HookFinalizeFunc
hook_size: number
is_setup: number
seq_id: number
$gtype: GType<HookList>

Methods

  • Calls all of the GLib.Hook functions in a GLib.HookList.

    Parameters

    • may_recurse: boolean

      true if functions which are already running (e.g. in another thread) can be called. If set to false, these are skipped

    Returns void

  • Calls all of the GLib.Hook functions in a GLib.HookList. Any function which returns false is removed from the GLib.HookList.

    Parameters

    • may_recurse: boolean

      true if functions which are already running (e.g. in another thread) can be called. If set to false, these are skipped

    Returns void

  • Calls a function on each valid GLib.Hook.

    Parameters

    • may_recurse: boolean

      true if hooks which are currently running (e.g. in another thread) are considered valid. If set to false, these are skipped

    • marshaller: HookMarshaller

      the function to call for each GLib.Hook

    Returns void

  • Calls a function on each valid GLib.Hook and destroys it if the function returns false.

    Parameters

    • may_recurse: boolean

      true if hooks which are currently running (e.g. in another thread) are considered valid. If set to false, these are skipped

    • marshaller: HookCheckMarshaller

      the function to call for each GLib.Hook

    Returns void