Timeout.sourceNewSeconds

Creates a new timeout source. The source will not initially be associated with any GMainContext and must be added to one with g_source_attach() before it will be executed. The scheduling granularity/accuracy of this timeout source will be in seconds. Since 2.14

class Timeout
static
sourceNewSeconds
()

Parameters

interval uint

the timeout interval in seconds

Return Value

Type: Source

the newly-created timeout source

Meta