12 #ifndef ROOT_TRootBrowser
13 #define ROOT_TRootBrowser
19 #ifndef ROOT_TBrowserImp
TGCompositeFrame * fEditFrame
void CloneBrowser()
Clone the browser.
virtual void Checked(TObject *obj, Bool_t check)
Emits signal when double clicking on icon.
virtual void StartEmbedding(Int_t pos=kRight, Int_t subpos=-1)
Start embedding external frame in the tab "pos" and tab element "subpos".
TGPopupMenu * fMenuExecPlugin
virtual void Add(TObject *obj, const char *name=0, Int_t check=-1)
Add items to the actual browser.
TGTab * GetTabLeft() const
TGTab * GetTab(Int_t pos) const
Returns the TGTab at position pos.
void InitPlugins(Option_t *opt="")
Initialize default plugins.
TGHorizontalFrame * fToolbarFrame
TGCompositeFrame * fActMenuBar
TGStatusBar * GetStatusBar() const
virtual Long_t ExecPlugin(const char *name=0, const char *fname=0, const char *cmd=0, Int_t pos=kRight, Int_t subpos=-1)
Execute a macro and embed the created frame in the tab "pos" and tab element "subpos".
void SetSubTab(Int_t sub)
virtual void DoubleClicked(TObject *obj)
Emits signal when double clicking on icon.
virtual void ReallyDelete()
Really delete the browser and the this GUI.
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
TGHorizontalFrame * fTopMenuFrame
virtual void ExecuteDefaultAction(TObject *obj)
Emits signal "ExecuteDefaultAction(TObject*)".
virtual void Refresh(Bool_t force=kFALSE)
Refresh the actual browser contents.
Option_t * GetDrawOption() const
Returns drawing option.
virtual Bool_t HandleKey(Event_t *event)
Handle keyboard events.
TRootBrowser & operator=(const TRootBrowser &)
virtual ~TBrowserPlugin()
void SetCommand(const char *cmd)
Using a TBrowser one can browse all ROOT objects.
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
void SetTabTitle(const char *title, Int_t pos=kRight, Int_t subpos=-1)
Set text "title" of Tab "subpos" in TGTab "pos".
virtual void SetStatusText(const char *txt, Int_t col)
Set text in culumn col in status bar.
void HandleMenu(Int_t id)
Handle menu entries events.
virtual void BrowseObj(TObject *obj)
Browse object.
virtual void RecursiveRemove(TObject *obj)
Recursively remove object from browser.
virtual void CloseTab(Int_t id)
Remove tab element id from right tab.
void SetTab(Int_t pos=kRight, Int_t subpos=-1)
Switch to Tab "subpos" in TGTab "pos".
virtual void ShowCloseTab(Bool_t show)
TGFrame * GetToolbarFrame() const
void RecursiveReparent(TGPopupMenu *popup)
Recursively reparent TGPopupMenu to gClient->GetDefaultRoot().
virtual void CloseTabs()
Properly close the mainframes embedded in the different tabs.
TGFrame * GetActFrame() const
virtual void CloseWindow()
Called when window is closed via the window manager.
virtual ~TRootBrowser()
Clean up all widgets, frames and layouthints that were used.
TGHorizontalFrame * fPreMenuFrame
const TGPicture * fIconPic
virtual Bool_t IsCloseTabShown() const
virtual void StopEmbedding(const char *name=0)
void RemoveTab(Int_t pos, Int_t subpos)
Remove tab element "subpos" from tab "pos".
Mother of all ROOT objects.
TGHorizontalFrame * fMenuFrame
TBrowserImp * fActBrowser
void CreateBrowser(const char *name)
void EventInfo(Int_t event, Int_t px, Int_t py, TObject *selected)
Display a tooltip with infos about the primitive below the cursor.
void SetActBrowser(TBrowserImp *b)
void ShowMenu(TGCompositeFrame *menu)
Show the selected frame's menu and hide previous one.
TRootBrowser(const TRootBrowser &)
TGTab * GetTabRight() const
void SwitchMenus(TGCompositeFrame *from)
Move the menu from original frame to our TGMenuFrame, or display the menu associated to the current t...
void DoTab(Int_t id)
Handle Tab navigation.
TGTab * GetTabBottom() const
TGMainFrame * GetMainFrame() const
static TBrowserImp * NewBrowser(TBrowser *b=0, const char *title="ROOT Browser", UInt_t width=800, UInt_t height=500, Option_t *opt="")
static contructor returning TBrowserImp, as needed by the plugin mechanism.
TBrowserPlugin(const char *name, const char *cmd="", Int_t tab=1, Int_t sub=-1)
ABC describing GUI independent browser implementation protocol.