HookCheckFunc

typealias HookCheckFunc = () -> Boolean

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

  • return false if the #GHook should be destroyed