Struct

GLibHookList

Description [src]

structGHookList{
gulongseq_id;
guinthook_size:16;
guintis_setup:1;
GHook*hooks;
gpointerdummy3;
GHookFinalizeFuncfinalize_hook;
gpointerdummy[2];
}

The GHookList struct represents a list of hook functions.

Structure members
seq_id: gulong

The next free GHook id.

hook_size: guint

The size of the GHookList elements, in bytes.

is_setup: guint

1 if the GHookList has been initialized.

hooks: GHook

The first GHook element in the list.

dummy3: gpointer

Unused.

finalize_hook: GHookFinalizeFunc

The function to call to finalize a GHook element. The default behaviour is to call the hooks destroy function.

dummy: gpointer

Unused.

Instance methods

g_hook_list_clear

Removes all the GHook elements from a GHookList.

g_hook_list_init

Initializes a GHookList. This must be called before the GHookList is used.

g_hook_list_invoke

Calls all of the GHook functions in a GHookList.

g_hook_list_invoke_check

Calls all of the GHook functions in a GHookList. Any function which returns FALSE is removed from the GHookList.

g_hook_list_marshal

Calls a function on each valid GHook.

g_hook_list_marshal_check

Calls a function on each valid GHook and destroys it if the function returns FALSE.

AltStyle によって変換されたページ (->オリジナル) /