glib.hook_list
Module for [HookList] class
class HookList
Types 1
classHookList
The #GHookList struct represents a list of hook functions.
Fields
GHookList _cInstanceMethods
void * _cPtr() nothrowvoid seqId(gulong propval) @property nothrowSet `seqId` field. Params: propval = the next free #GHook iduint hookSize() @property nothrowGet `hookSize` field. Returns: the size of the #GHookList elements, in bytesvoid hookSize(uint propval) @property nothrowSet `hookSize` field. Params: propval = the size of the #GHookList elements, in bytesuint isSetup() @property nothrowGet `isSetup` field. Returns: 1 if the #GHookList has been initializedvoid isSetup(uint propval) @property nothrowSet `isSetup` field. Params: propval = 1 if the #GHookList has been initializedglib.hook.Hook hooks() @property nothrowGet `hooks` field. Returns: the first #GHook element in the listGHookFinalizeFunc finalizeHook() @property nothrowGet `finalizeHook` field. Returns: the function to call to finalize a #GHook element. The default behaviour is to call the hooks @destroy functionvoid finalizeHook(GHookFinalizeFunc propval) @property nothrowSet `finalizeHook` field. Params: propval = the function to call to finalize a #GHook element. The default behaviour is to call the hooks @destroy functionvoid init_(uint hookSize) nothrowInitializes a #GHookList. This must be called before the #GHookList is used.void invokeCheck(bool mayRecurse) nothrowCalls all of the #GHook functions in a #GHookList. Any function which returns false is removed from the #GHookList.void marshal(bool mayRecurse, glib.types.HookMarshaller marshaller) nothrowCalls a function on each valid #GHook.void marshalCheck(bool mayRecurse, glib.types.HookCheckMarshaller marshaller) nothrowCalls a function on each valid #GHook and destroys it if the function returns false.