Hook.findData

Finds a glib.Hook in a glib.HookList with the given data.

class Hook
static
findData

Parameters

hookList HookList
needValids bool

TRUE if glib.Hook elements which have been destroyed should be skipped

data void*

the data to find

Return Value

Type: Hook

the glib.Hook with the given data or NULL if no matching glib.Hook is found