timeoutSourceNewSeconds
fn
glib.source.Source timeoutSourceNewSeconds(uint interval)Creates a new timeout source.
The source will not initially be associated with any #GMainContext and must be added to one with [glib.source.Source.attach] before it will be executed.
The scheduling granularity/accuracy of this timeout source will be in seconds.
The interval given is in terms of monotonic time, not wall clock time. See [glib.global.getMonotonicTime].
Parameters
interval | the timeout interval in seconds |
Returns
the newly-created timeout source