Schnittstelle Object.OnToggleNotify

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

@FunctionalInterface public static interface Object.OnToggleNotify
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    onToggleNotify(CallbackHandler __self, Pointer data, Object object, boolean is_last_ref)
    A callback function used for notification when the state
    of a toggle reference changes.
  • Methodendetails

    • onToggleNotify

      void onToggleNotify(CallbackHandler __self, @Nullable Pointer data, @Nonnull Object object, boolean is_last_ref)
      A callback function used for notification when the state
      of a toggle reference changes.

      See also: g_object_add_toggle_ref()
      Parameter:
      data - Callback data passed to g_object_add_toggle_ref()
      object - The object on which g_object_add_toggle_ref() was called.
      is_last_ref - %TRUE if the toggle reference is now the last reference to the object. %FALSE if the toggle reference was the last reference and there are now other references.