Re: [ROOT] Problem accessing gPad

From: Rutger van der Eijk (r36@nikhef.nl)
Date: Wed May 31 2000 - 14:08:44 MEST


Hi,

Rene wrote:
> Before using gPad, a real pad must exist.
> Once a canvas has been instantiated, you can use gPad as before.

I find this behaviour confusing. It means that in every macro I use I have
to check if a canvas was already created. For one simple macro this is
okay. But if I chain them I add a lot of redundant checks. Isn't it
possible to somehome tell TRint about TCanvas by default?

cheers,

Rutger



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