Hook.destroy

Destroys a #GHook, given its ID.

  1. GDestroyNotify destroy [@property getter]
  2. GDestroyNotify destroy [@property setter]
  3. bool destroy(glib.hook_list.HookList hookList, gulong hookId)
    class Hook
    static
    bool
    destroy

Parameters

hookList glib.hook_list.HookList

a #GHookList

hookId gulong

a hook ID

Return Value

Type: bool

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