Package ch.bailu.gtk.glib
Interface Hook.OnHookCompareFunc
- 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.
-
Method Summary
Modifier and TypeMethodDescriptionint
onHookCompareFunc
(CallbackHandler __self, Hook new_hook, Hook sibling) Defines the type of function used to compare #GHook elements in
g_hook_insert_sorted().
-
Method Details
-
onHookCompareFunc
Defines the type of function used to compare #GHook elements in
g_hook_insert_sorted().- Parameters:
new_hook
- the #GHook being insertedsibling
- the #GHook to compare with @new_hook- Returns:
- a value <= 0 if @new_hook should be before @sibling
-