50RWebBrowserImp::RWebBrowserImp(
TBrowser *
b,
const char *title,
Int_t x,
Int_t y, UInt_t width, UInt_t height,
Option_t *opt) :
TBrowserImp(
b,title,
x,
y, width, height, opt)
74 static bool show_warn =
true;
78 TString value =
gEnv->GetValue(
"WebGui.Warning",
"yes");
79 if ((value !=
"yes") && (value !=
"1"))
85 "ROOT comes with a web-based browser, which is now being started. \n"
86 "Revert to TBrowser by setting \"Browser.Name: TRootBrowser\" in rootrc file or\n"
87 "by starting \"root --web=off\"\n"
88 "Find more info on https://root.cern/for_developers/root7/#rbrowser\n";
119 if (obj ==
gROOT)
return;
121 if (
gROOT->GetListOfFiles()->FindObject(obj))
int Int_t
Signed integer 4 bytes (int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
const char Option_t
Option string (const char).
void ShowWarning()
Show warning that RBrowser will be shown.
Int_t fHeight
window coordinates
void Show() final
Show browser.
virtual ~RWebBrowserImp()
Constructor with width and height parameters.
void Iconify() final
Iconify browser.
std::shared_ptr< RBrowser > fWebBrowser
actual browser used
void Refresh(Bool_t=kFALSE) final
Refresh browser.
static TBrowserImp * NewBrowser(TBrowser *b=nullptr, const char *title="ROOT Browser", UInt_t width=800, UInt_t height=500, Option_t *opt="")
Factory method to create RWebBrowserImp via plugin.
void BrowseObj(TObject *) final
Browse specified object.
RWebBrowserImp(TBrowser *b=nullptr)
Default constructor.
TBrowserImp(const TBrowserImp &)=delete
Using a TBrowser one can browse all ROOT objects.
Mother of all ROOT objects.