HookList

The #GHookList struct represents a list of hook functions.

Constructors

this
this(GHookList* gHookList)

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

Members

Functions

clear
void clear()

Removes all the #GHook elements from a #GHookList.

getHookListStruct
GHookList* getHookListStruct()

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

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, GHookMarshaller marshaller, void* marshalData)

Calls a function on each valid #GHook.

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

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

Variables

gHookList
GHookList* gHookList;

the main Gtk struct

Meta