GHook

Undocumented in source.

Members

Variables

data
void* data;

data which is passed to func when this hook is invoked

destroy
GDestroyNotify destroy;

the default @finalize_hook function of a #GHookList calls this member of the hook that is being finalized

flags
uint flags;

flags which are set for this hook. See #GHookFlagMask for predefined flags

func
void* func;

the function to call when this hook is invoked. The possible signatures for this function are #GHookFunc and #GHookCheckFunc

hookId
gulong hookId;

the id of this hook, which is unique within its list

next
GHook* next;

pointer to the next hook in the list

prev
GHook* prev;

pointer to the previous hook in the list

refCount
uint refCount;

the reference count of this hook

Meta