threads_add_timeout_seconds_full


Description:


[ Version ( since = "2.14" ) ]
public uint threads_add_timeout_seconds_full (int priority, uint interval, owned SourceFunc function)

A variant of threads_add_timeout_full with second-granularity.

See add_seconds_full 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 DEFAULT_IDLE and HIGH_IDLE.

interval

the time between calls to the function, in seconds

function

function to call

data

data to pass to function

notify

function to call when the timeout is removed, or null

Returns:

the ID (greater than 0) of the event source.


Namespace: Gdk
Package: gdk-3.0