Logo ROOT   6.14/05
Reference Guide
TGeoGedFrame.h
Go to the documentation of this file.
1 // @(#)root/geombuilder:$Id$
2 // Author: Matevz Tadel 25/09/2006
3 
4 #ifndef ROOT_TGeoGedFrame
5 #define ROOT_TGeoGedFrame
6 
7 #include "TGedFrame.h"
8 
9 class TGTab;
10 class TGeoTabManager;
11 class TVirtualPad;
12 
13 class TGeoGedFrame : public TGedFrame {
14 
15 protected:
16  TGTab *fTab; //tab of the ged-editor
17  TGeoTabManager *fTabMgr; //tab manager corresponding to ged-editor
18  TVirtualPad *fPad; //selected pad, if exists
19 
20 public:
21  TGeoGedFrame(const TGWindow *p = 0,
22  Int_t width = 140, Int_t height = 30,
23  UInt_t options = kChildFrame,
25 
26  virtual void SetActive(Bool_t active = kTRUE);
27  virtual void Update();
28 
29  ClassDef(TGeoGedFrame, 0) // Common base-class for geombuilder editors.
30 };
31 
32 #endif
Definition: TGTab.h:62
image html pict1_TGaxis_012 png width
Define new text attributes for the label number "labNum".
Definition: TGaxis.cxx:2551
Manager for all editor tabs.
int Int_t
Definition: RtypesCore.h:41
bool Bool_t
Definition: RtypesCore.h:59
#define ClassDef(name, id)
Definition: Rtypes.h:320
ULong_t Pixel_t
Definition: GuiTypes.h:39
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:665
virtual void SetActive(Bool_t active=kTRUE)
Set active GUI attribute frames related to the selected object.
TVirtualPad is an abstract base class for the Pad and Canvas classes.
Definition: TVirtualPad.h:49
TGeoGedFrame(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor.
unsigned int UInt_t
Definition: RtypesCore.h:42
virtual void Update()
Override Update from TGedFrame as fGedEditor can be null.
TVirtualPad * fPad
Definition: TGeoGedFrame.h:18
const Bool_t kTRUE
Definition: RtypesCore.h:87
TGTab * fTab
Definition: TGeoGedFrame.h:16
TGeoTabManager * fTabMgr
Definition: TGeoGedFrame.h:17
Common base class for geombuilder editors.
Definition: TGeoGedFrame.h:13