59 if (
gROOT->IsWebDisplay()) {
60 auto ph =
gROOT->GetPluginManager()->FindHandler(
"TCanvasImp",
"TWebCanvas");
62 if (
ph &&
ph->LoadPlugin() != -1) {
68 Error(
"CreateCanvasImp",
"Fail to create TWebCanvas, please provide missing libWebGui6 or run 'root --web=off'");
79 if (
gROOT->IsWebDisplay()) {
80 auto ph =
gROOT->GetPluginManager()->FindHandler(
"TCanvasImp",
"TWebCanvas");
82 if (
ph &&
ph->LoadPlugin() != -1) {
88 Error(
"CreateCanvasImp",
"Fail to create TWebCanvas, please provide missing libWebGui6 or run 'root --web=off'");
101 if (
gROOT->IsWebDisplay() && !
gROOT->IsWebDisplayBatch())
103 else if (!
gROOT->IsBatch())
109 if (
ph &&
ph->LoadPlugin() != -1) {
115 Error(
"CreateBrowserImp",
"Fail to create %s, please provide missing libraries or run 'root --web=off'",
129 if (
gROOT->IsWebDisplay() && !
gROOT->IsWebDisplayBatch())
131 else if (!
gROOT->IsBatch())
137 if (
ph &&
ph->LoadPlugin() != -1) {
143 Error(
"CreateBrowserImp",
"Fail to create %s, please provide missing libraries or run 'root --web=off'",
163 if (
gROOT->IsWebDisplay()) {
164 auto ph =
gROOT->GetPluginManager()->FindHandler(
"TControlBarImp",
"TWebControlBar");
166 if (
ph &&
ph->LoadPlugin() != -1) {
172 Error(
"CreateControlBarImp",
173 "Fail to create TWebControlBar, please provide missing libWebGui6 or run 'root --web=off'");
184 if (
gROOT->IsWebDisplay()) {
185 auto ph =
gROOT->GetPluginManager()->FindHandler(
"TControlBarImp",
"TWebControlBar");
187 if (
ph &&
ph->LoadPlugin() != -1) {
193 Error(
"CreateControlBarImp",
194 "Fail to create TWebControlBar, please provide missing libWebGui6 or run 'root --web=off'");
205 if (
gROOT->IsBatch())
208 gROOT->ProcessLine(
TString::Format(
"TInspectCanvas::Inspector((TObject*)0x%zx);", (
size_t)obj).Data());
const char Option_t
Option string (const char)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
TGuiFactory * gGuiFactory
TGuiFactory * gBatchGuiFactory
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.
virtual TApplicationImp * CreateApplicationImp(const char *classname, int *argc, char **argv)
Create a batch version of TApplicationImp.
TGuiFactory(const char *name="Batch", const char *title="Batch GUI Factory")
TGuiFactory ctor only called by derived classes.
virtual TContextMenuImp * CreateContextMenuImp(TContextMenu *c, const char *name, const char *title)
Create a batch version of TContextMenuImp.
virtual TInspectorImp * CreateInspectorImp(const TObject *obj, UInt_t width, UInt_t height)
Create a batch version of TInspectorImp.
virtual TBrowserImp * CreateBrowserImp(TBrowser *b, const char *title, UInt_t width, UInt_t height, Option_t *opt="")
Create a batch version of TBrowserImp.
virtual TCanvasImp * CreateCanvasImp(TCanvas *c, const char *title, UInt_t width, UInt_t height)
Create a batch version of TCanvasImp.
virtual TControlBarImp * CreateControlBarImp(TControlBar *c, const char *title)
Create a batch version of TControlBarImp.
ABC describing GUI independent object inspector (abstraction mainly needed for Win32.
The TNamed class is the base class for all named ROOT classes.
Mother of all ROOT objects.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.