Package ch.bailu.gtk.glib
Interface Glib.OnIOFunc
- Enclosing class:
- Glib
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
onIOFunc
(CallbackHandler __self, IOChannel source, int condition, Pointer user_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.
-
Method Details
-
onIOFunc
boolean onIOFunc(CallbackHandler __self, @Nonnull IOChannel source, int condition, @Nullable Pointer user_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.- Parameters:
source
- the #GIOChannel event sourcecondition
- the condition which has been satisfieduser_data
- user data set in g_io_add_watch() or g_io_add_watch_full()- Returns:
- the function should return %FALSE if the event source should be removed
-