66 TBrowser(
const char *
name,
void *obj,
TClass *cl,
const char *objname=
"",
const char *title=
"ROOT Foreign Browser",
Option_t *opt=
"");
109 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 Longptr_t ExecPlugin(const char *, const char *, const char *, Int_t, Int_t)
virtual void SetDrawOption(Option_t *="")
virtual void StopEmbedding(const char *)
Called whenever timer times out.
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.
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.
Longptr_t ExecPlugin(const char *name=0, const char *fname=0, const char *cmd=0, Int_t pos=1, Int_t subpos=-1)
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.
TBrowser(const TBrowser &)=delete
The last TObject selected by user.
void SetSelected(TObject *clickedObject)
Assign the last selected object.
Bool_t fNeedRefresh
Context menu pointer.
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.
TBrowser & operator=(const TBrowser &)=delete
void BrowseObject(TObject *obj)
void SetStatusText(const char *txt, Int_t col)
void SetBrowserImp(TBrowserImp *i)
TClass instances represent classes, structs and namespaces in the ROOT type system.
The TNamed class is the base class for all named ROOT classes.
Mother of all ROOT objects.