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 funct
,
void* data
)

Parameters

funct GSourceFunc

function to call

data void*

data to pass to @function

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

Meta

Since

2.12