HookList

The #GHookList 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

~this
~this()
Undocumented in source.

Members

Functions

clear
void clear()

Removes all the #GHook elements from a #GHookList.

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 #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.

Properties

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

the function to call to finalize a #GHook element. The default behaviour is to call the hooks @destroy function

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

the size of the #GHookList elements, in bytes

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

the first #GHook element in the list

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

1 if the #GHookList has been initialized

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

the next free #GHook id

Variables

gHookList
GHookList* gHookList;

the main Gtk struct

ownedRef
bool ownedRef;
Undocumented in source.

Meta