Re: [ROOT] canvas created but not drawn ...

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Apr 11 2003 - 17:57:43 MEST


Jacek,

Did you draw something in the canvas?
Note that the statement c->Draw() is redundant when called in the session
where the canvas has been created.

More exaplanations on your side are welcome.
Could you add the statement
  c->Saveas("mycancas.root");
and send me the file?

Rene Brun

"Jacek M. Holeczek" wrote:
> 
> Hi,
> My machine is RH7.3 with gcc-2.95.3 and gcc-3.2.2.
> The root is v3.05.02 and v3.05.03.
> My application is a Geant4.5.0.p01 linked with root libraries.
> Inside of my application I create a canvas :
>         c = new TCanvas("blahbla", "blahblah");
> I can see the pointer :
>         c = 0x8c3f968
> I can "c->Dump()" the canvas (the output look o.k. for me), but ...
> the "c->Draw()" does nothing. There is nothing drawn ! Simply nothing !
> (The Geant4 opens it's graphical windows ... .)
> What can this be ?
> Thanks in advance,
> Jacek.



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET