Function
Mtktimeout_add_once
Declaration [src]
guint
mtk_timeout_add_once (
unsigned int interval,
GSourceOnceFunc function,
gpointer data
)
Description [src]
Sets a function to be called after interval milliseconds have elapsed,
with the default priority, G_PRIORITY_DEFAULT.
This method is similar to g_timeout_add_once() except it will
attach the source to the thread-default main context.
Parameters
interval-
Type:
unsigned intThe time after which the function will be called, in milliseconds.
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.