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