GIOFunc

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 glib.IOChannel is satisfied.

alias GIOFunc = int function(GIOChannel* source, GIOCondition condition, void* data)

Return Value

the function should return FALSE if the event source should be removed