There is no method gSystem->SleepWithProcessing(500), but the codegSystem->Sleep(500);
gSystem->ProcessEvents();
will do what you need instead. Let me know if this help.
No, it does not. Sleep() freeses the system for half a second, so if this situation is repeated
continiously, then the GUI is almost stuck. So far i go with
But would be nice to have some special feature like for example
gSystem->ProcessEvents(300) with the meaning: during this 300 msec do nothing but
process GUI events.