13 #ifndef ROOT_TRootBrowserLite 14 #define ROOT_TRootBrowserLite 144 virtual void SetDefaults(
const char *iconStyle = 0,
const char *sortBy = 0);
virtual void AddToTree(TObject *obj, const char *name, Int_t check=-1)
Add items to the current TGListTree of the browser.
TGFSComboBox * fFSComboBox
TGLayoutHints * fMenuBarItemLayout
TGCompositeFrame * fListHdr
void SetViewMode(Int_t new_mode, Bool_t force=kFALSE)
Set iconbox's view mode and update menu and toolbar buttons accordingly.
TGLayoutHints * fComboLayout
void SetDrawOption(Option_t *option="")
sets drawing option
virtual void SetStatusText(const char *txt, Int_t col)
Set text in column col in status bar.
image html pict1_TGaxis_012 png width
Define new text attributes for the label number "labNum".
Bool_t HistoryForward()
go to the future
void Search()
starts serach dialog
virtual void DoubleClicked(TObject *obj)
Emits signal when double clicking on icon.
TGFileContainer * GetIconBox() const
returns pointer to fIconBox object
TGStatusBar * GetStatusBar() const
virtual void ShowStatusBar(Bool_t show=kTRUE)
Show or hide statusbar.
Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
Handle menu and other command generated by the user.
TGMainFrame * GetMainFrame() const
virtual void CheckObjectItem(TObject *obj, Bool_t check=kFALSE)
Check / uncheck the TGListTreeItem corresponding to this object and add a checkmark on TGLVEntry if c...
TGMenuBar * GetMenuBar() const
void AddToHistory(TGListTreeItem *item)
helper method to track history
Option_t * GetDrawOption() const
returns drawing option
TGLayoutHints * fMenuBarLayout
static TBrowserImp * NewBrowser(TBrowser *b=0, const char *title="ROOT Browser", UInt_t width=800, UInt_t height=500, Option_t *opt="")
Interface method to the old browser.
TGLayoutHints * fExpandLayout
void ShowMacroButtons(Bool_t show=kTRUE)
show/hide macro buttons
#define ClassDef(name, id)
TGCompositeFrame * fTreeHdr
TGToolBar * GetToolBar() const
TGButton * fToolBarButton[7]
TGListTreeItem * fListLevel
virtual void AddToBox(TObject *obj, const char *name)
Add items to the iconbox of the browser.
void SetSortMode(Int_t new_mode)
Set iconbox's sort mode and update menu radio buttons accordingly.
virtual void BrowseObj(TObject *obj)
Browse object.
virtual void ShowToolBar(Bool_t show=kTRUE)
Show or hide toolbar.
virtual void Add(TObject *obj, const char *name=0, Int_t check=-1)
Add items to the browser.
void IconBoxAction(TObject *obj)
Default action when double clicking on icon.
void UpdateDrawOption()
add new draw option to the "history"
void CloseWindow()
In case window is closed via WM we get here.
void CreateBrowser(const char *name)
Create the actual browser.
Using a TBrowser one can browse all ROOT objects.
TGLayoutHints * fBarLayout
void DisplayTotal(Int_t total, Int_t selected)
Display in statusbar total number of objects and number of selected objects in IconBox.
virtual void ResizeBrowser()
TGHorizontal3DLine * fToolBarSep
virtual void RecursiveRemove(TObject *obj)
Recursively remove object from browser.
void ExecMacro()
executed browsed text macro
Bool_t HistoryBackward()
go to the past
virtual void ExecuteDefaultAction(TObject *obj)
Execute default action for selected object (action is specified in the $HOME/.root.mimes or $ROOTSYS/etc/root.mimes file.
void Chdir(TGListTreeItem *item)
Make object associated with item the current directory.
TGListTree * GetListTree() const
void ClearHistory()
clear navigation history
static unsigned int total
void ReallyDelete()
Really delete the browser and the this GUI.
virtual void SetDefaults(const char *iconStyle=0, const char *sortBy=0)
Set defaults depending on settings in the user's .rootrc.
virtual void RemoveCheckBox(TObject *obj)
Remove checkbox from TGListTree and checkmark from TGListView.
TRootBrowserLite(TBrowser *b=0, const char *title="ROOT Browser", UInt_t width=800, UInt_t height=500)
Create browser with a specified width and height.
virtual void AddCheckBox(TObject *obj, Bool_t check=kFALSE)
Add a checkbox in the TGListTreeItem corresponding to obj and a checkmark on TGLVEntry if check = kTR...
void HideTextEdit()
hide text edit
void InterruptMacro()
interrupt browsed macro execution
void BrowseTextFile(const char *file)
browse text file
void HighlightListLevel()
helper method to track history
void DeleteListTreeItem(TGListTreeItem *item)
delete list tree item, remove it from history
void ListTreeHighlight(TGListTreeItem *item)
Open tree item and list in iconbox its contents.
Mother of all ROOT objects.
TGLayoutHints * fMenuBarHelpLayout
virtual ~TRootBrowserLite()
Browser destructor.
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
virtual void Refresh(Bool_t force=kFALSE)
Refresh the browser contents.
virtual void Checked(TObject *obj, Bool_t check)
Emits signal when double clicking on icon.
virtual Bool_t HandleKey(Event_t *event)
handle keys
friend class TRootIconBox
void DisplayDirectory()
Display current directory in second label, fLbl2.
void ToSystemDirectory(const char *dirname)
display directory
TGPopupMenu * fOptionMenu
ABC describing GUI independent browser implementation protocol.
const TGPicture * fIconPic