Hook.destroy

Destroys a glib.Hook, given its ID.

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

Parameters

hookList HookList
hookId gulong

a hook ID

Return Value

Type: bool

TRUE if the glib.Hook was found in the glib.HookList and destroyed