Idle

Constructors

this
this(bool delegate() dlg, bool fireNow)

Creates a new idle cycle.

this
this(bool delegate() dlg, GPriority priority, bool fireNow)

Creates a new idle cycle.

Destructor

~this
~this()

Removes the idle from gtk

Members

Functions

addListener
void addListener(bool delegate() dlg, bool fireNow)

Adds a new delegate to this idle cycle

stop
void stop()

Static functions

add
uint add(GSourceFunc funct, void* data)

Adds a function to be called whenever there are no higher priority events pending to the default main loop. The function is given the default idle priority, #G_PRIORITY_DEFAULT_IDLE. If the function returns %FALSE it is automatically removed from the list of event sources and will not be called again.

addFull
uint addFull(int priority, GSourceFunc funct, void* data, GDestroyNotify notify)

Adds a function to be called whenever there are no higher priority events pending. If the function returns %FALSE it is automatically removed from the list of event sources and will not be called again.

destroyIdleNotify
void destroyIdleNotify(Idle idle)
Undocumented in source. Be warned that the author may not have intended to support it.
idleCallback
bool idleCallback(Idle idle)
Undocumented in source. Be warned that the author may not have intended to support it.
removeByData
bool removeByData(void* data)

Removes the idle function with the given data.

sourceNew
Source sourceNew()

Creates a new idle source.

Meta