Declaration [src]

gdk_threads_add_timeout_seconds_full (
  gint priority,
  guint interval,
  GSourceFunc function,
  gpointer data,
  GDestroyNotify notify

Description [src]

A variant of gdk_threads_add_timeout_full() with second-granularity. See g_timeout_add_seconds_full() for a discussion of why it is a good idea to use this function if you don’t need finer granularity.

Available since:2.14
This function is renamed to gdk_threads_add_timeout_seconds() in language bindings


priority gint

The priority of the timeout source. Typically this will be in the range between #G_PRIORITY_DEFAULT_IDLE and #G_PRIORITY_HIGH_IDLE.

interval guint

The time between calls to the function, in seconds.

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.
notify GDestroyNotify

Function to call when the timeout is removed, or NULL.

 The argument can be NULL.

Return value

Returns: guint

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