threadsAddIdle

A wrapper for the common usage of gdk_threads_add_idle_full() assigning the default priority, #G_PRIORITY_DEFAULT_IDLE.

See gdk_threads_add_idle_full().

uint
threadsAddIdle
(
GSourceFunc function_
,
void* data
)

Parameters

function_ GSourceFunc

function to call

data void*

data to pass to @function

Return Value

Type: uint

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

Meta

Since

2.12