IOFunc


Description:

public delegate bool IOFunc (IOChannel source, IOCondition condition)

Specifies the type of function passed to add_watch or add_watch_full, which is called when the requested condition on a IOChannel is satisfied.

Parameters:

source

the IOChannel event source

condition

the condition which has been satisfied

user_data

user data set in add_watch or add_watch_full

Returns:

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


Namespace: GLib
Package: glib-2.0