gTimeoutAdd(interval, f, data = NULL)
gIdleAdd(f, data = NULL)
gSourceRemove(id)
gIdleAdd
and gTimeoutAdd
both return a source id that may be used
to remove the handler later.
TRUE
as long as it wants to stay connected
to the loop.Timeout tasks are performed once per some specified interval of time. Use
gTimeoutAdd
to register such a handler.
When the event loop is idle (not busy) it will execute the idle handlers, which
may be registered with gIdleAdd
.
If one needs to externally remove a handler from the loop, gSourceRemove
will serve this purpose.