Hi,
I’m trying to alter the default behavior so that a TCanvas has the even status bar by default. I have added
gStyle->ToggleEventStatus()
To my rootlogon.C file. When I open a root prompt, executing
gStyle->GetShowEventStatus()
returns 1. However, creating a TCanvas with
TCanvas *c1 = new TCanvas()
gives a canvas with no event status bar, and calling
c1->GetShowEventStatus()
returns false. I’m confused about the intended behavior here: isn’t the idea that newly created canvases should inherit the style from gStyle?
Thanks
Please read tips for efficient and successful posting and posting code
_ROOT Version: 6.24/00
_Platform: macOS
_Compiler: clang 12.0.0