timeoutAddSeconds
Sets a function to be called at regular intervals, with @priority.
The function is called repeatedly until it returns const@GLib.SOURCE_REMOVE or false, at which point the timeout is automatically destroyed and the function will not be called again.
Unlike func@GLib.timeout_add, this function operates at whole second granularity. The initial starting point of the timer is determined by the implementation and the implementation is expected to group multiple timers together so that they fire all at the same time. To allow this grouping, the
Return
the ID (greater than 0) of the event source.
Since
2.14
Parameters
the priority of the timeout source. Typically this will be in the range between const@GLib.PRIORITY_DEFAULT and const@GLib.PRIORITY_HIGH.
the time between calls to the function, in seconds
function to call