Function
GLibtimeout_add_once
since: 2.74
Description
Sets a function to be called after interval milliseconds have elapsed,
with the default priority, G_PRIORITY_DEFAULT.
The given function is called once and then the source will be automatically
removed from the main context.
This function otherwise behaves like g_timeout_add().
Available since: 2.74
This function is not directly available to language bindings.
Parameters
interval-
Type:
guintThe time after which the function will be called, in milliseconds (1/1000ths of a second).
function-
Type:
GSourceOnceFuncFunction to call.
data-
Type:
gpointerData to pass to
function.The argument can be NULL.The data is owned by the caller of the function.