IupMainLoopLevel

Definition: include pGUI.e

integer level = IupMainLoopLevel()
Description: Returns the current cascade level of IupMainLoop. When no calls were done, return value is 0.
Notes: You can use this function to check if IupMainLoop was already called and avoid calling it again.

A call to IupPopup will increase one level.
See Also: IupOpen, IupClose, IupLoopStep, Guide/System Control, IDLE_ACTION, LOCKLOOP