Function
Mtktimeout_add
Declaration [src]
guint
mtk_timeout_add (
unsigned int interval,
GSourceFunc function,
gpointer data
)
Description [src]
Sets a function to be called at regular intervals, with the default
priority, G_PRIORITY_DEFAULT.
This method is similar to g_timeout_add() except it will
attach the source to the thread-default main context.
The implementation of this function is provided by mtk_timeout_add_full() in language bindings.
Parameters
interval-
Type:
unsigned intThe time between calls to the function, in milliseconds.
function-
Type:
GSourceFuncFunction to call.
data-
Type:
gpointerData to pass to
function.The argument can be NULL.The data is owned by the caller of the function.