47 Int_t *argc,
char **argv)
84 if ((browserVersion ==
"ROOT::Experimental::RWebBrowserImp") && !
gROOT->IsWebDisplay()) {
85 printf(
"\nWARNING!\n");
86 printf(
"rootrc parameter \"Browser.Name\" with web browser disabled for security reasons.\n");
87 printf(
"See https://root.cern/about/security/#2023-11-26-open-port-for-control-of-web-gui-allows-read-and-write-access-to-file-system for more information.\n");
88 printf(
"For environments controlling the security issues you can enable web display by calling\n");
89 printf(
"gROOT->SetWebDisplay(); in ROOT prompt or in startup scripts\n\n");
91 browserVersion =
"TRootBrowser";
97 if (opt && strlen(opt))
100 if (browserOptions.
Contains(
"LITE"))
122 if ((browserVersion ==
"ROOT::Experimental::RWebBrowserImp") && !
gROOT->IsWebDisplay()) {
123 printf(
"\nWARNING!\n");
124 printf(
"rootrc parameter \"Browser.Name\" with web browser disabled for security reasons.\n");
125 printf(
"See https://root.cern/about/security/#2023-11-26-open-port-for-control-of-web-gui-allows-read-and-write-access-to-file-system for more information.\n");
126 printf(
"For environments controlling the security issues you can enable web display by calling\n");
127 printf(
"gROOT->SetWebDisplay(); in ROOT prompt or in startup scripts\n\n");
129 browserVersion =
"TRootBrowser";
135 if (opt && strlen(opt))
136 browserOptions = opt;
138 if (browserOptions.
Contains(
"LITE"))
155 const char *
name,
const char *)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
ABC describing GUI independent application implementation protocol.
ABC describing GUI independent browser implementation protocol.
Using a TBrowser one can browse all ROOT objects.
ABC describing GUI independent main window (with menubar, scrollbars and a drawing area).
ABC describing GUI independent control bar.
A Control Bar is a fully user configurable tool which provides fast access to frequently used operati...
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
This ABC is a factory for GUI components.
Longptr_t ExecPlugin(int nargs)
Int_t LoadPlugin()
Load the plugin library for this handler.
This class create the ROOT native GUI version of the ROOT application environment.
TGClient * Client() const
This class creates a ROOT object browser (looking like Windows Explorer).
This class creates a ROOT object browser, constituted by three main tabs.
This class creates a main window with menubar, scrollbars and a drawing area.
This class provides an interface to the GUI dependent functions of the TControlBar class.
This class is a factory for ROOT GUI components.
TCanvasImp * CreateCanvasImp(TCanvas *c, const char *title, UInt_t width, UInt_t height) override
Create a ROOT native GUI version of TCanvasImp.
TControlBarImp * CreateControlBarImp(TControlBar *c, const char *title) override
Create a ROOT native GUI version of TControlBarImp.
TRootGuiFactory(const char *name="Root", const char *title="ROOT GUI Factory")
TRootGuiFactory ctor.
TApplicationImp * CreateApplicationImp(const char *classname, int *argc, char **argv) override
Create a ROOT native GUI version of TApplicationImp.
TContextMenuImp * CreateContextMenuImp(TContextMenu *c, const char *name, const char *title) override
Create a ROOT native GUI version of TContextMenuImp.
TBrowserImp * CreateBrowserImp(TBrowser *b, const char *title, UInt_t width, UInt_t height, Option_t *opt="") override
Create a ROOT native GUI version of TBrowserImp.
const char * Data() const
void ToUpper()
Change string to upper case.
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const