the priority of the idle source. Typically this will be in the range between #G_PRIORITY_DEFAULT_IDLE and #G_PRIORITY_HIGH_IDLE
function to call
Optionalnotify: DestroyNotifyfunction to call when the idle is removed, or null
the ID (greater than 0) of the event source.
Adds a function to be called whenever there are no higher priority events pending. If the function returns
falseit is automatically removed from the list of event sources and will not be called again.This variant of
g_idle_add_full()callsfunctionwith the GDK lock held. It can be thought of a MT-safe version for GTK+ widgets for the following use case, where you have to worry aboutidle_callback()running in thread A and accessingselfafter it has been finalized in thread B: