HookList

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

Constructors

this
this(GHookList* gHookList, bool ownedRef)

Sets our main struct and passes it to the parent class.

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Members

Functions

clear
void clear()

Removes all the glib.Hook elements from a glib.HookList

getHookListStruct
GHookList* getHookListStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

init
void init(uint hookSize)

Initializes a glib.HookList This must be called before the glib.HookList is used.

invoke
void invoke(bool mayRecurse)

Calls all of the glib.Hook functions in a glib.HookList

invokeCheck
void invokeCheck(bool mayRecurse)

Calls all of the glib.Hook functions in a glib.HookList Any function which returns FALSE is removed from the glib.HookList

marshal
void marshal(bool mayRecurse, GHookMarshaller marshaller, void* marshalData)

Calls a function on each valid glib.Hook

marshalCheck
void marshalCheck(bool mayRecurse, GHookCheckMarshaller marshaller, void* marshalData)

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

Properties

finalizeHook
GHookFinalizeFunc finalizeHook [@property getter]
GHookFinalizeFunc finalizeHook [@property setter]

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

hookSize
uint hookSize [@property getter]
uint hookSize [@property setter]

the size of the glib.HookList elements, in bytes

hooks
Hook hooks [@property getter]
Hook hooks [@property setter]

the first glib.Hook element in the list

isSetup
uint isSetup [@property getter]
uint isSetup [@property setter]

1 if the glib.HookList has been initialized

seqId
gulong seqId [@property getter]
gulong seqId [@property setter]

the next free glib.Hook id

Variables

gHookList
GHookList* gHookList;

the main Gtk struct