IOChannel.gIoAddWatch

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

class IOChannel
uint
gIoAddWatch

Parameters

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

Meta