Package ch.bailu.gtk.glib
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.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
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 sourcecondition
- the condition which has been satisfieddata
- 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
-