Runs one iteration of the message loop.
int IupLoopStep(void); [in C] iup.LoopStep() -> ret: number [in Lua]
Returns: IUP_CLOSE or IUP_DEFAULT.
This function is useful for allowing a second message loop to be managed by the application itself. This means that messages can be intercepted and callbacks can be processed inside an application loop.
An example of how to use this function is a counter that can be stopped by the user. For such, the user has to interact with the system, which is possible by calling the function periodically.
This way, this function replaces old mechanisms implemented using the Idle callback.
Note that this function does not replace IupMainLoop.
IupOpen, IupClose, IupMainLoop, IDLE_ACTION, Guide / System Control