Hi,
When is gPad known in an interactive ROOT session? I know gPad became a
macro to improve thread support. However if I just start interactive ROOT,
gPad is not know until I draw some object. This is inconvenient because I,
e.g. want to check if a canvas is already present.
i.e. the macro
// create pad
if (!gPad) {
if (!gROOT->GetMakeDefCanvas()) return;
(gROOT->GetMakeDefCanvas())();
}
gPad->Clear();
crashes with:
Error: No symbol gPad in current scope FILE:/tmp/29646eaa_cint LINE:1
I probably missed a roottalk or release note about this (because more ppl
should have this), or am doing something stupid. Can anybody point me out
to the documentation? (Version 2.23/12 1 February 2000)
cheers,
Rutger
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:20 MET