Function
Mtkidle_add_full
Declaration [src]
guint
mtk_idle_add_full (
int priority,
GSourceFunc function,
gpointer data,
GDestroyNotify notify
)
Description [src]
Adds a function to be called whenever there are no higher priority events pending.
This method is similar to g_idle_add_full() except it will
attach the source to the thread-default main context.
This function is renamed to mtk_idle_add() in language bindings.
Parameters
priority-
Type:
intThe priority of the idle source; typically this will be in the range between
G_PRIORITY_DEFAULT_IDLEandG_PRIORITY_HIGH_IDLE. 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. notify-
Type:
GDestroyNotifyFunction to call when the idle is removed.
The argument can be NULL.