Hello,
I am wondering if it is possible to do gROOT->SetStyle(“Plain”) by .rootrc, which set style as plain as starting root.
I just use gEnv->Print() to get all default settings, but didn’t find information about it. Any hint?
Thanks,
Zhiyi.
Hello,
I am wondering if it is possible to do gROOT->SetStyle(“Plain”) by .rootrc, which set style as plain as starting root.
I just use gEnv->Print() to get all default settings, but didn’t find information about it. Any hint?
Thanks,
Zhiyi.
Hi Zhiyi,
You can use the rootlogon.C script for this setting at start-up. It is executed when root starts.
Cheers, Ilka
Thanks, Ilka. It works.
Also, another question. When logging in root and type:
TBrowser a
Thus a browser with default position and size is opened. I am wondering how to change default position and size of a browser? I want to do that just because the opened browser is so large that it covers other windows.
Cheers,
Zhiyi.
[quote=“antcheva”]Hi Zhiyi,
You can use the rootlogon.C script for this setting at start-up. It is executed when root starts.
Cheers, Ilka[/quote]
Hi Zhiyi,
You can use one of the provided constructors according to your needs - see at root.cern.ch/root/htmldoc/src/TB … tml#Srm7CC
Cheers, Ilka