IUP_IDLE_ACTION

IUP - Portable User Interface

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.

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.

See Also

IupSetFunction.