60 if (
gROOT->IsWebDisplay()) {
70 auto ph =
gROOT->GetPluginManager()->FindHandler(
"TCanvasImp",
canvName);
72 if (
ph &&
ph->LoadPlugin() != -1) {
78 Error(
"CreateCanvasImp",
"Fail to create %s canvas implementation",
canvName.Data());
90 if (
gROOT->IsWebDisplay()) {
100 auto ph =
gROOT->GetPluginManager()->FindHandler(
"TCanvasImp",
canvName);
102 if (
ph &&
ph->LoadPlugin() != -1) {
108 Error(
"CreateCanvasImp",
"Fail to create %s canvas implementation",
canvName.Data());
121 if (
gROOT->IsWebDisplay() && !
gROOT->IsWebDisplayBatch())
123 else if (!
gROOT->IsBatch())
129 if (
ph &&
ph->LoadPlugin() != -1) {
135 Error(
"CreateBrowserImp",
"Fail to create %s, please provide missing libraries or run 'root --web=off'",
149 if (
gROOT->IsWebDisplay() && !
gROOT->IsWebDisplayBatch())
151 else if (!
gROOT->IsBatch())
157 if (
ph &&
ph->LoadPlugin() != -1) {
163 Error(
"CreateBrowserImp",
"Fail to create %s, please provide missing libraries or run 'root --web=off'",
183 if (
gROOT->IsWebDisplay()) {
184 auto ph =
gROOT->GetPluginManager()->FindHandler(
"TControlBarImp",
"TWebControlBar");
186 if (
ph &&
ph->LoadPlugin() != -1) {
192 Error(
"CreateControlBarImp",
193 "Fail to create TWebControlBar, please provide missing libWebGui6 or run 'root --web=off'");
204 if (
gROOT->IsWebDisplay()) {
205 auto ph =
gROOT->GetPluginManager()->FindHandler(
"TControlBarImp",
"TWebControlBar");
207 if (
ph &&
ph->LoadPlugin() != -1) {
213 Error(
"CreateControlBarImp",
214 "Fail to create TWebControlBar, please provide missing libWebGui6 or run 'root --web=off'");
225 if (
gROOT->IsBatch())
228 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.