IUP_IDLE_ACTION
Predefined IUP action, generated when there are no events.
Callback
int function(); [in C]
Note
Often used to perform background operations. For example, a time-consuming drawing operation may allow the user to take a decision before the operation is over.
In Windows this callback changes the message loop to a more CPU consuming one. Set to NULL when not using.
Lua BindingĀ
To modify this action, function IupSetIdle(myfunction) must be used. Use iup.SetIdle(myfunction) in IupLua5. Using nil as a parameter removes the association.
Examples
Affects
Global callback.