64 TBrowser(
const char *
name,
void *obj,
TClass *cl,
const char *objname=
"",
const char *title=
"ROOT Foreign Browser",
Option_t *opt=
"");
107 const char *cmd = 0,
Int_t pos = 1,
Int_t subpos = -1) {
108 return (fImp) ? fImp->
ExecPlugin(
name, fname, cmd, pos, subpos) : -1;
void SetBrowserImp(TBrowserImp *i)
void Add(TObject *obj, const char *name=0, Int_t check=-1)
Add object with name to browser.
virtual ~TBrowser()
Delete the browser.
TBrowserImp * GetBrowserImp() const
TBrowserTimer * fTimer
Window system specific browser implementation.
void StartEmbedding(Int_t pos, Int_t subpos)
virtual void BrowseObj(TObject *)
TObject * fLastSelectedObject
TBrowser(const TBrowser &)
The last TObject selected by user.
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 CheckObjectItem(TObject *obj, Bool_t check=kFALSE)
Change status of checkbox for this item.
void SetSelected(TObject *clickedObject)
Assign the last selected object.
void AddCheckBox(TObject *obj, Bool_t check=kFALSE)
Add checkbox for this item.
virtual void Create(TObject *obj=0)
Create the browser, called by the ctors.
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
TBrowser & operator=(const TBrowser &)
void SetStatusText(const char *txt, Int_t col)
virtual void StopEmbedding(const char *)
virtual void SetStatusText(const char *, Int_t)
Using a TBrowser one can browse all ROOT objects.
Long_t ExecPlugin(const char *name=0, const char *fname=0, const char *cmd=0, Int_t pos=1, Int_t subpos=-1)
Bool_t fNeedRefresh
Context menu pointer.
void SetRefreshFlag(Bool_t flag)
virtual Long_t ExecPlugin(const char *, const char *, const char *, Int_t, Int_t)
virtual void SetDrawOption(Option_t *option="")
The ROOT global object gROOT contains a list of all defined classes.
Bool_t GetRefreshFlag() const
void RemoveCheckBox(TObject *obj)
Remove checkbox for this item.
virtual void StartEmbedding(Int_t, Int_t)
Mother of all ROOT objects.
void StopEmbedding(const char *name="")
virtual void Destructor()
Actual browser destructor.
void BrowseObject(TObject *obj)
virtual Option_t * GetDrawOption() const
TObject * GetSelected() const
Option_t * GetDrawOption() const
Get option used by the graphics system to draw this object.
TContextMenu * fContextMenu
Browser's timer.
TContextMenu * GetContextMenu() const
void Refresh()
Refresh browser contents.
void SetDrawOption(Option_t *option="")
Set drawing option for object.
virtual void RecursiveRemove(TObject *obj)
Recursively remove obj from browser.
ABC describing GUI independent browser implementation protocol.