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 glib:+priority-default-idle+ and glib:+priority-high-idle+

Return Value

The 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 glib:+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

#2024-6-29