Hook.findFunc

Finds a #GHook in a #GHookList with the given function.

class Hook
static
findFunc

Parameters

hookList HookList

a #GHookList

needValids bool

%TRUE if #GHook elements which have been destroyed should be skipped

func void*

the function to find

Return Value

Type: Hook

the #GHook with the given @func or %NULL if no matching #GHook is found

Meta