Package: gdk

Function gdk-threads-add-timeout-seconds

Lambda List

gdk-threads-add-timeout-seconds (interval func &key priority)

Arguments

interval -- an unsigned integer with the time between calls to the function, in seconds
func -- a g-source-func callback function to call
priority -- an integer with the priority of the timeout source, typically this will be in the range between +g-priority-default-idle+ and +g-priority-high-idle+

Return Value

An unsigned integer ID, greater than 0, of the event source.

Details

A variant of the gdk-threads-add-timeout function with second granularity. The default priority is +g-priority-default+. See the g-timeout-add-seconds function for a discussion of why it is a good idea to use this function if you do not need finer granularity.
 

See also

2021-12-13