Hi, I’m trying to use TBrowser to select a branch, but when I run
from ROOT import TBrowser
b=TBrowser
the browser just appeared for a while, then disappeared.
But if I run these codes on terminal, the browser can be opened well. Adding
raw_input()
doesn’t work as well. So I’m confused now. How should I open a TBrowser by running python script?
And, can I use SetSelected() like
b = TBrowser().SetSelected(branch)
to select the wanted branch? ( Or someway else?)
( The documentation mentions it less, so I’m not really sure…)
I’ll be appreciated if someone could help me
ROOT Version: 6.22/02
Platform: Ubuntu 20.04
Compiler: Not Provided