threadsAddTimeoutSecondsFull

A variant of gdk_threads_add_timeout_full() with second-granularity. See g_timeout_add_seconds_full() for a discussion of why it is a good idea to use this function if you don’t need finer granularity.

uint
threadsAddTimeoutSecondsFull
(,,
GSourceFunc funct
,
void* data
,
GDestroyNotify notify
)

Parameters

priority int

the priority of the timeout source. Typically this will be in the range between #G_PRIORITY_DEFAULT_IDLE and #G_PRIORITY_HIGH_IDLE.

interval uint

the time between calls to the function, in seconds

funct GSourceFunc

function to call

data void*

data to pass to @function

notify GDestroyNotify

function to call when the timeout is removed, or %NULL

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

Meta

Since

2.14