Function

Gdkthreads_add_timeout_seconds_full

Declaration [src]

guint
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

Parameters

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.

notify GDestroyNotify
 

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

Return value

Returns: guint
 

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