HookList

The #GHookList struct represents a list of hook functions.

Constructors

this
this(void* ptr, Flag!"Take" take)

Members

Functions

cPtr
void* cPtr()
clear
void clear()

Removes all the #GHook elements from a #GHookList.

init_
void init_(uint hookSize)

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

invoke
void invoke(bool mayRecurse)

Calls all of the #GHook functions in a #GHookList.

invokeCheck
void invokeCheck(bool mayRecurse)

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

marshal
void marshal(bool mayRecurse, glib.types.HookMarshaller marshaller)

Calls a function on each valid #GHook.

marshalCheck
void marshalCheck(bool mayRecurse, glib.types.HookCheckMarshaller marshaller)

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

Properties

finalizeHook
GHookFinalizeFunc finalizeHook [@property getter]

Get field finalizeHook.

finalizeHook
GHookFinalizeFunc finalizeHook [@property setter]

Set field finalizeHook.

hookSize
uint hookSize [@property getter]

Get field hookSize.

hookSize
uint hookSize [@property setter]

Set field hookSize.

hooks
glib.hook.Hook hooks [@property getter]

Get field hooks.

isSetup
uint isSetup [@property getter]

Get field isSetup.

isSetup
uint isSetup [@property setter]

Set field isSetup.

seqId
gulong seqId [@property getter]

Get field seqId.

seqId
gulong seqId [@property setter]

Set field seqId.