HookCheckFunc

typealias HookCheckFunc = (<Error class: unknown class>?) -> Boolean

Defines the type of a hook function that can be invoked by g_hook_list_invoke_check().

  • param data the data field of the #GHook is passed to the hook function here

  • return false if the #GHook should be destroyed