[ROOT] GUI strategy ?

From: Robert Michaels (rom@jlab.org)
Date: Tue Aug 21 2001 - 01:27:37 MEST


   I am using root 3.01-06, RedHat 6.2, Linux kernel 
2.2.19-6.2.7

   This is an elementary question about root GUI's.  I want
to show data periodically (say, once per 5 seconds), and
have the user press "Start" to start the whole thing.
Users will also press other buttons, e.g. to change to another 
page of display, etc.  But the data should be updated period-
ically and automatically.

   I have learned how to "ProcessMessage" and to request
the "NeedRedraw" which successfully updates data in my GUI,
but how to make this automatic ?  Is the general idea to 
start a "TThread" try to make "NeedRedraw" requests there,
or to have my thread send messages back to the GUI window ?

thanks,
Robert
------------------------------------------------------
Robert W. Michaels      
www.jlab.org/~rom
phone (757) 269 7410   pager (757) 881 7897
Thomas Jefferson National Accelerator Facility
12000 Jefferson Ave, Newport News, VA 23606 USA



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