HiIvan, to interact with the canvas while in a loop call once in a while gSystem->ProcessEvents(); Cheers, Fons. Ivan Storgaard Vogelius wrote: > > Hi! > I want to be able to interact with a canvas, while running a > programme loop for data taking. Is there a way to do theApp.Run(kTRUE) > like in hworld example, but instead of waiting on the line for the user to > select "quit root", execute a loop until the user quits? > > Ivan -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910
This archive was generated by hypermail 2b29 : Fri Jun 08 2001 - 11:51:21 MEST