Declaration [src]

gdk_threads_add_timeout (
  guint interval,
  GSourceFunc function,
  gpointer data

Description [src]

A wrapper for the common usage of gdk_threads_add_timeout_full() assigning the default priority, #G_PRIORITY_DEFAULT.

See gdk_threads_add_timeout_full().

Available since:2.12
This function is not directly available to language bindings
The implementation of this function is provided by gdk_threads_add_timeout_full() in language bindings


interval guint

The time between calls to the function, in milliseconds (1/1000ths of a second)

function GSourceFunc

Function to call.

data gpointer

Data to pass to function.

 The argument can be NULL.
 The data is owned by the caller of the function.

Return value

Returns: guint

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