Schnittstelle Glib.OnIOFunc

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

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    onIOFunc(CallbackHandler __self, IOChannel source, int condition, Pointer data)
    Specifies the type of function passed to g_io_add_watch() or
    g_io_add_watch_full(), which is called when the requested condition
    on a #GIOChannel is satisfied.
  • Methodendetails

    • onIOFunc

      boolean onIOFunc(CallbackHandler __self, @Nonnull IOChannel source, int condition, @Nullable Pointer data)
      Specifies the type of function passed to g_io_add_watch() or
      g_io_add_watch_full(), which is called when the requested condition
      on a #GIOChannel is satisfied.
      Parameter:
      source - the #GIOChannel event source
      condition - the condition which has been satisfied
      data - user data set in g_io_add_watch() or g_io_add_watch_full()
      Gibt zurück:
      the function should return %FALSE if the event source should be removed