60 if (
gROOT->IsWebDisplay()) {
61 auto ph =
gROOT->GetPluginManager()->FindHandler(
"TCanvasImp",
"TWebCanvas");
63 if (
ph &&
ph->LoadPlugin() != -1) {
69 Error(
"CreateCanvasImp",
"Fail to create TWebCanvas, please provide missing libWebGui6 or run 'root --web=off'");
80 if (
gROOT->IsWebDisplay()) {
81 auto ph =
gROOT->GetPluginManager()->FindHandler(
"TCanvasImp",
"TWebCanvas");
83 if (
ph &&
ph->LoadPlugin() != -1) {
89 Error(
"CreateCanvasImp",
"Fail to create TWebCanvas, please provide missing libWebGui6 or run 'root --web=off'");
102 if (
gROOT->IsWebDisplay() && !
gROOT->IsWebDisplayBatch())
104 else if (!
gROOT->IsBatch())
110 if (
ph &&
ph->LoadPlugin() != -1) {
116 Error(
"CreateBrowserImp",
"Fail to create %s, please provide missing libraries or run 'root --web=off'",
130 if (
gROOT->IsWebDisplay() && !
gROOT->IsWebDisplayBatch())
132 else if (!
gROOT->IsBatch())
138 if (
ph &&
ph->LoadPlugin() != -1) {
144 Error(
"CreateBrowserImp",
"Fail to create %s, please provide missing libraries or run 'root --web=off'",
164 if (
gROOT->IsWebDisplay()) {
165 auto ph =
gROOT->GetPluginManager()->FindHandler(
"TControlBarImp",
"TWebControlBar");
167 if (
ph &&
ph->LoadPlugin() != -1) {
173 Error(
"CreateControlBarImp",
174 "Fail to create TWebControlBar, please provide missing libWebGui6 or run 'root --web=off'");
185 if (
gROOT->IsWebDisplay()) {
186 auto ph =
gROOT->GetPluginManager()->FindHandler(
"TControlBarImp",
"TWebControlBar");
188 if (
ph &&
ph->LoadPlugin() != -1) {
194 Error(
"CreateControlBarImp",
195 "Fail to create TWebControlBar, please provide missing libWebGui6 or run 'root --web=off'");
206 if (
gROOT->IsBatch())
209 gROOT->ProcessLine(
TString::Format(
"TInspectCanvas::Inspector((TObject*)0x%zx);", (
size_t)obj).Data());
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.