Function

Gdkthreads_add_timeout_seconds

since: 2.14

Declaration [src]

guint
gdk_threads_add_timeout_seconds (
  guint interval,
  GSourceFunc function,
  gpointer data
)

Description [src]

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

For details, see gdk_threads_add_timeout_full().

Available since: 2.14

This function is not directly available to language bindings.

The implementation of this method is provided by gdk_threads_add_timeout_seconds_full() in language bindings

Parameters

interval

Type: guint

The time between calls to the function, in seconds.

function

Type: GSourceFunc

Function to call.

data

Type: gpointer

Data to pass to function.

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

Return value

Type: guint

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