library: libGed
#include "TGedEditor.h"


class description - source file - inheritance tree (.pdf)

class TGedEditor : public TVirtualPadEditor, public TGMainFrame

Inheritance Chart:

virtual void GetBaseClassEditor(TClass* cl) virtual void GetClassEditor(TClass* cl) virtual void GetEditors() public:
TGedEditor(TCanvas* canvas = 0) TGedEditor(const TGedEditor&) virtual ~TGedEditor() static TClass* Class() virtual void CloseWindow() virtual void ConnectToCanvas(TCanvas* c) virtual void DeleteEditors() virtual void Hide() virtual TClass* IsA() const virtual void RecursiveRemove(TObject* obj) virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event) virtual void Show() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

TGCanvas* fCan provides scroll bars TGTab* fTab tab widget holding the editor TGCompositeFrame* fTabContainer main tab container TGCompositeFrame* fStyle style tab container frame TObject* fModel selected object TVirtualPad* fPad selected pad TCanvas* fCanvas canvas related to the editor TClass* fClass class of the selected object Int_t fWid widget id

Class Description

 Editor is a composite frame that contains TGedToolBox and            
 TGedAttFrames. It is connected to a Canvas and listens for           
 selected objects                                                     

TGedEditor(TCanvas* canvas) : TGMainFrame(gClient->GetRoot(), 155, 20)

void CloseWindow()
 When closed via WM close button, just unmap (i.e. hide) editor
 for later use.

void GetEditors()
 Get existing editors of selected object

void GetBaseClassEditor(TClass *cl)
 Scan the base classes of cl and add attribute editors to the list.

void GetClassEditor(TClass *cl)
 Add attribute editor of class cl to the list of fStyle frame.

void ConnectToCanvas(TCanvas *c)

void SetModel(TVirtualPad* pad, TObject* obj, Int_t event)

void Show()
 Show editor.

void DeleteEditors()
 Delete GUI editors connected to the canvas fCanvas.

void Hide()
 Hide editor.

 Editor destructor.

void RecursiveRemove(TObject* obj)
 Remove references to fModel in case the fModel is being deleted.
 Deactivate attribute frames if they point to obj.

Inline Functions

            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
         TGedEditor TGedEditor(const TGedEditor&)

Author: Marek Biskup, Ilka Antcheva 02/08/2003
Last update: root/ged:$Name: $:$Id: TGedEditor.cxx,v 1.15 2004/12/10 12:54:17 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *

ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.