IupMainLoopLevel
Returns the current cascade level of IupMainLoop. When no calls were done, return value is 0.
Parameters/Return
int IupMainLoopLevel(void);
Returns: the cascade level.
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.