Interface Hook.OnHookFindFunc

Enclosing class:
Hook
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Hook.OnHookFindFunc
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    onHookFindFunc(CallbackHandler __self, Hook hook, Pointer user_data)
    Defines the type of the function passed to g_hook_find().
  • Method Details

    • onHookFindFunc

      boolean onHookFindFunc(CallbackHandler __self, @Nonnull Hook hook, @Nullable Pointer user_data)
      Defines the type of the function passed to g_hook_find().
      Parameters:
      hook - a #GHook
      user_data - user data passed to g_hook_find_func()
      Returns:
      %TRUE if the required #GHook has been found