Timeout.sourceNew

Creates a new timeout source.

The source will not initially be associated with any glib.MainContext and must be added to one with Source.attach before it will be executed.

The interval given is in terms of monotonic time, not wall clock time. See g_get_monotonic_time().

class Timeout
static
sourceNew
()

Parameters

interval uint

the timeout interval in milliseconds.

Return Value

Type: Source

the newly-created timeout source