Schnittstelle Glib.OnSourceOnceFunc

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.OnSourceOnceFunc
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    A source function that is only called once before being removed from the main
    context automatically.
  • Methodendetails

    • onSourceOnceFunc

      void onSourceOnceFunc(CallbackHandler __self, @Nullable Pointer user_data)
      A source function that is only called once before being removed from the main
      context automatically.

      See: [func@GLib.idle_add_once], [func@GLib.timeout_add_once]
      Parameter:
      user_data - data passed to the function, set when the source was created