Hook.destroy

GDestroyNotify destroy() @property nothrow

Get destroy field.

Returns

the default @finalize_hook function of a #GHookList calls

this member of the hook that is being finalized

void destroy(GDestroyNotify propval) @property nothrow

Set destroy field.

Parameters

propvalthe default @finalize_hook function of a #GHookList calls this member of the hook that is being finalized
bool destroy(glib.hook_list.HookList hookList, gulong hookId) static nothrow

Destroys a #GHook, given its ID.

Parameters

hookLista #GHookList
hookIda hook ID

Returns

true if the #GHook was found in the #GHookList and destroyed