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()uint hookSize() @propertyGet `hookSize` field. Returns: the size of the #GHookList elements, in bytesvoid hookSize(uint propval) @propertySet `hookSize` field. Params: propval = the size of the #GHookList elements, in bytesvoid isSetup(uint propval) @propertySet `isSetup` field. Params: propval = 1 if the #GHookList has been initializedGHookFinalizeFunc finalizeHook() @propertyGet `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) @propertySet `finalizeHook` field. Params: propval = the function to call to finalize a #GHook element. The default behaviour is to call the hooks @destroy functionvoid clear()Removes all the #GHook elements from a #GHookList.void init_(uint hookSize)Initializes a #GHookList. This must be called before the #GHookList is used.void invoke(bool mayRecurse)Calls all of the #GHook functions in a #GHookList.void invokeCheck(bool mayRecurse)Calls 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)Calls a function on each valid #GHook.void marshalCheck(bool mayRecurse, glib.types.HookCheckMarshaller marshaller)Calls a function on each valid #GHook and destroys it if the function returns false.