IOChannel.ioAddWatch

Adds the #GIOChannel into the default main loop context with the default priority.

class IOChannel
static
uint
ioAddWatch

Parameters

channel IOChannel

a #GIOChannel

condition GIOCondition

the condition to watch for

func GIOFunc

the function to call when the condition is satisfied

userData void*

user data to pass to @func

Return: the event source id

Meta