12#ifndef ROOT_TGedEditor
13#define ROOT_TGedEditor
#define ClassDef(name, id)
include TDocParser_001 C image html pict1_TDocParser_001 png width
TClass instances represent classes, structs and namespaces in the ROOT type system.
A frame containing two scrollbars (a horizontal and a vertical) and a viewport.
The base class for composite widgets (menu bars, list boxes, etc.).
Defines top level windows that interact with the system Window Manager.
Service classes of the tab widget.
A tab widget contains a set of composite frames each with a little tab with a name (like a set of fol...
ROOT GUI Window base class.
virtual void SetCanvas(TCanvas *c)
Change connection to another canvas.
virtual void Hide()
Hide editor. The editor is put into non-active state.
void ConfigureGedFrames(Bool_t objChaged)
Call SetModel in class editors.
TMap fFrameMap
global map of available frames
void ReinitWorkspace()
Clears windows in editor tab.
virtual void CloseWindow()
Called when closed via WM close button. Calls Hide().
virtual TGCompositeFrame * GetEditorTab(const char *name)
Find or create tab with name.
virtual void RecursiveRemove(TObject *obj)
Remove references to fModel in case the fModel is being deleted.
TGCanvas * GetTGCanvas() const
static TGedEditor * GetFrameCreator()
Returns TGedEditor that currently creates TGedFrames.
TVirtualPad * fPad
selected pad
void ActivateEditors(TList *bcl, Bool_t recurse)
Searches GedFrames for classes in the given list.
TGCanvas * fCan
provides scroll bars
virtual ~TGedEditor()
Editor destructor.
void PrintFrameStat()
Print contents of fFrameMap.
virtual void Show()
Show editor.
virtual TGedTabInfo * GetEditorTabInfo(const char *name)
Find or create tab with name.
void InsertGedFrame(TGedFrame *f)
Insert GedFrame in fGedFrames list according to priorities.
TGTab * fTab
tab widget holding the editor
TMap fExclMap
map of excluded editors for selected model
TList fVisibleTabs
list ofcurrently used tabs
virtual TCanvas * GetCanvas() const
TCanvas * fCanvas
canvas related to the editor
virtual void SetGlobal(Bool_t global)
Set editor global.
TList fGedFrames
list visible of frames
virtual void SetModel(TVirtualPad *pad, TObject *obj, Int_t event, Bool_t force=kFALSE)
Activate object editors according to the selected object.
TGedEditor(const TGedEditor &)=delete
virtual TVirtualPad * GetPad() const
TGCompositeFrame * fTabContainer
main tab container
TObject * fModel
selected object
static void SetFrameCreator(TGedEditor *e)
Set the TGedEditor that currently creates TGedFrames.
virtual TObject * GetModel() const
virtual void GlobalClosed()
Delete global editor if no canvas exists.
void ExcludeClassEditor(TClass *cl, Bool_t recurse=kFALSE)
Exclude editor for class cl from current construction.
void ActivateEditor(TClass *cl, Bool_t recurse)
Searches for GedFrames for given class.
virtual Bool_t IsGlobal() const
virtual void DisconnectFromCanvas()
Disconnect this editor from the Selected signal of fCanvas.
TClass * fClass
class of the selected object
virtual void Update(TGedFrame *frame=0)
Virtual method that is called on any change in the dependent frames.
virtual TGedFrame * CreateNameFrame(const TGWindow *parent, const char *tab_name)
Virtual function for creation of top name-frame in each tab.
TGedEditor & operator=(const TGedEditor &)=delete
virtual void GlobalSetModel(TVirtualPad *, TObject *, Int_t)
Set canvas to global editor.
virtual void ConnectToCanvas(TCanvas *c)
Connect this editor to the Selected signal of canvas 'c'.
Bool_t fGlobal
true if editor is global
static TGedEditor * fgFrameCreator
TList fCreatedTabs
list of created tabs
Base frame for implementing GUI - a service class.
TMap implements an associative array of (key,value) pairs using a THashTable for efficient retrieval ...
Mother of all ROOT objects.
Abstract base class used by ROOT graphics editor.
TVirtualPad is an abstract base class for the Pad and Canvas classes.