Hook.findFunc

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

class Hook
static
findFunc

Parameters

hookList HookList
needValids bool

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

func void*

the function to find

Return Value

Type: Hook

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