threadsAddTimeoutSeconds

A variant of gdk.global.threadsAddTimeoutFull with second-granularity. See glib.global.timeoutAddSecondsFull for a discussion of why it is a good idea to use this function if you don’t need finer granularity.

uint
threadsAddTimeoutSeconds

Parameters

priority int

the priority of the timeout source. Typically this will be in the range between #G_PRIORITY_DEFAULT_IDLE and #G_PRIORITY_HIGH_IDLE.

interval uint

the time between calls to the function, in seconds

function_ glib.types.SourceFunc

function to call

Return Value

Type: uint

the ID (greater than 0) of the event source.