add_seconds_once


Description:

[ Version ( since = "2.78" ) ]
public uint add_seconds_once (uint interval, SourceOnceFunc function)

This function behaves like add_once but with a range in seconds.

Parameters:

interval

the time after which the function will be called, in seconds

function

function to call

data

data to pass to function

Returns:

the ID (greater than 0) of the event source


Namespace: GLib.Timeout
Package: glib-2.0