12 #ifndef ROOT_TRootBrowser 13 #define ROOT_TRootBrowser 43 fSubTab(sub), fCommand(cmd) { }
130 void CreateBrowser(
const char *
name);
132 virtual void CloseWindow();
133 virtual void CloseTab(
Int_t id);
134 virtual void CloseTabs();
135 void DoTab(
Int_t id);
145 void SetTabTitle(
const char *title,
Int_t pos = kRight,
Int_t subpos = -1);
146 void HandleMenu(
Int_t id);
151 virtual void StartEmbedding(
Int_t pos = kRight,
Int_t subpos = -1);
156 virtual void BrowseObj(
TObject *obj);
157 virtual void ExecuteDefaultAction(
TObject *obj);
158 virtual void DoubleClicked(
TObject *obj);
161 virtual void Add(
TObject *obj,
const char *name = 0,
Int_t check = -1);
164 virtual void Show() { MapRaised(); }
168 virtual Long_t ExecPlugin(
const char *name = 0,
const char *fname = 0,
169 const char *cmd = 0,
Int_t pos = kRight,
171 virtual void SetStatusText(
const char *txt,
Int_t col);
178 virtual void ReallyDelete();
TGCompositeFrame * fEditFrame
virtual Bool_t IsCloseTabShown() const
TGPopupMenu * fMenuExecPlugin
TGTab * GetTabBottom() const
TGHorizontalFrame * fToolbarFrame
TGCompositeFrame * fActMenuBar
void SetSubTab(Int_t sub)
virtual void RecursiveRemove(TObject *obj)
Recursively remove this object from a list.
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
TGHorizontalFrame * fTopMenuFrame
virtual ~TBrowserPlugin()
TGStatusBar * GetStatusBar() const
void SetCommand(const char *cmd)
TGFrame * GetToolbarFrame() const
virtual Option_t * GetDrawOption() const
Get option used by the graphics system to draw this object.
Using a TBrowser one can browse all ROOT objects.
TNamed & operator=(const TNamed &rhs)
TNamed assignment operator.
TGTab * GetTabLeft() const
virtual void ShowCloseTab(Bool_t show)
TGTab * GetTabRight() const
void Add(THist< DIMENSIONS, PRECISION_TO, STAT_TO... > &to, const THist< DIMENSIONS, PRECISION_FROM, STAT_FROM... > &from)
Add two histograms.
TGHorizontalFrame * fPreMenuFrame
const TGPicture * fIconPic
TGFrame * GetActFrame() const
virtual void StopEmbedding(const char *name=0)
Mother of all ROOT objects.
TGHorizontalFrame * fMenuFrame
TBrowserImp * fActBrowser
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
TGMainFrame * GetMainFrame() const
void SetActBrowser(TBrowserImp *b)
TBrowserPlugin(const char *name, const char *cmd="", Int_t tab=1, Int_t sub=-1)
ABC describing GUI independent browser implementation protocol.