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.
source |
the IOChannel event source |
condition |
the condition which has been satisfied |
data |
user data set in add_watch or add_watch_full |
the function should return false if the event source should be removed |