idleSourceNew

fnglib.source.Source idleSourceNew()

Creates a new idle source.

The source will not initially be associated with any #GMainContext and must be added to one with [glib.source.Source.attach] before it will be executed. Note that the default priority for idle sources is [glib.types.PRIORITY_DEFAULT_IDLE], as compared to other sources which have a default priority of [glib.types.PRIORITY_DEFAULT].

Returns

the newly-created idle source