Re: [ROOT] How to loop without locking out canvas

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Jun 25 2002 - 06:59:54 MEST


Hi Kyle,

In your loop, simply call
   gSystem->ProcessEvents();

You will get the control back in the TCanvas, TBrowser, etc
and will be able to print the canvas while your program is executing.

Rene Brun

On Mon, 24 Jun 2002, stevenkj wrote:

> Hello ,
> 
> 	I have a loop within a macro which I'm using in an online system
> (based on an example on the root page). Unfortunately the canvas menu
> bar locks out & I can't save the canvas as a postscript file, is there some
> way to avoid this happening >
> 
> 				Regards,
> 				  Kyle Stevenson.
> 
> 
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:58 MET