IOChannel.ioAddWatch

Adds the glib.IOChannel into the default main loop context with the default priority.

class IOChannel
static
uint
ioAddWatch

Parameters

channel IOChannel
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 Value

Type: uint

the event source id