IUP - Portable User Interface


Predefined IUP action, generated when there are no events.


int function(void); [in C]


In Windows this callback changes the message loop to a more CPU consuming one. Set to NULL when not using.

In Motif it register a background processing procedure.

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. But it is safer to use a timer for this purpose.

Lua BindingĀ 

To modify this action use the function iup.SetIdle(myfunction) in Lua. Using nil as a parameter to remove the association.


See Also

IupSetFunction, IupTimer.