[ROOT] Transient (Popup) Progress Meter

From: Glen R. Salo (gsalo@mrcstl.com)
Date: Wed Oct 03 2001 - 17:53:13 MEST


Hi ROOTERS,

I have a main GUI which enables the user to perform operations which can
take several seconds to complete.  During these operations, I popup a
transient progress meter indicating how long they have to wait.  In order
to update the progress meter, I use gSystem->ProcessEvents() from a method
inside the main GUI.  This works okay, but it has limitations --
specifically, it enables events in the main GUI.  Is there a way I can
avoid this problem?  The only solution I know is to create a separate
class which includes both the time consuming method as well as the
transient progress meter and then put the command fClient->WaitFor(this) in
the transient progress meter class.  I believe this will work, but I would
prefer a general purpose progress meter which I could use whenever there is
a time consuming process being executed by my main GUI.  Does anyone have a
suggestion?

Thanks,

Glen



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:02 MET