Schnittstelle Glib.OnHookCompareFunc

Umschließende Klasse:
Glib
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface Glib.OnHookCompareFunc
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    int
    onHookCompareFunc(CallbackHandler __self, Hook new_hook, Hook sibling)
    Defines the type of function used to compare #GHook elements in
    g_hook_insert_sorted().
  • Methodendetails

    • onHookCompareFunc

      int onHookCompareFunc(CallbackHandler __self, @Nonnull Hook new_hook, @Nonnull Hook sibling)
      Defines the type of function used to compare #GHook elements in
      g_hook_insert_sorted().
      Parameter:
      new_hook - the #GHook being inserted
      sibling - the #GHook to compare with @new_hook
      Gibt zurück:
      a value <= 0 if @new_hook should be before @sibling