Function

Gdkthreads_add_idle

Declaration [src]

guint
gdk_threads_add_idle (
  GSourceFunc function,
  gpointer data
)

Description [src]

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().

Available since:2.12

Parameters

function GSourceFunc
 

Function to call.

data gpointer
 

Data to pass to function.

Return value

Returns: guint
 

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