threadsAddTimeoutSeconds
fn
uint threadsAddTimeoutSeconds(int priority, uint interval, glib.types.SourceFunc function_)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.
Parameters
priority | the priority of the timeout source. Typically this will be in the range between #G_PRIORITY_DEFAULT_IDLE and #G_PRIORITY_HIGH_IDLE. |
interval | the time between calls to the function, in seconds |
function_ | function to call |
Returns
the ID (greater than 0) of the event source.