Re: [ROOT] Freeing Up Canvas in Loop?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Jun 20 2000 - 18:56:25 MEST


Hi Jon,
call TCanvas::Update in your loop to force the canvas to be paint.

By default, the canvas is paint when a <CR> is typed (normal command mode)
or when TCanvas::Update is called.

Rene Brun

Jon Gans wrote:
> 
> I have a menu system that takes input from cin inside a while loop. This
> macro calls other functions that draw canvases. However, after the canvas
> is drawn, since the calling macro is still in the loop, the canvas are
> frozen.
> 
> Is there some semaphore I can overide to make these canvas active while
> the calling macro is waiting for more input?
> 
> Thanks
> jon
> 
> ______________________________________________________________________________
> 
> Jonathan Gans
> Yale University                         Office (305 WNSL): (203) 432 - 5637
> Physics Department
> PO BOX 208120
> New Haven, CT 06520-8120                             http://www.jongans.com



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:28 MET