Logo ROOT  
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
TGeoGedFrame::fTab
TGTab * fTab
Definition: TGeoGedFrame.h:16
TGWindow
ROOT GUI Window base class.
Definition: TGWindow.h:23
kTRUE
const Bool_t kTRUE
Definition: RtypesCore.h:100
TGeoGedFrame
Common base class for geombuilder editors.
Definition: TGeoGedFrame.h:13
Pixel_t
ULong_t Pixel_t
Pixel value.
Definition: GuiTypes.h:40
width
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition: TDocParser.cxx:121
TGFrame::GetDefaultFrameBackground
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:683
TGeoGedFrame::Update
virtual void Update()
Override Update from TGedFrame as fGedEditor can be null.
Definition: TGeoGedFrame.cxx:55
bool
TGeoGedFrame::TGeoGedFrame
TGeoGedFrame(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor.
Definition: TGeoGedFrame.cxx:22
TGedFrame.h
TGeoGedFrame::fPad
TVirtualPad * fPad
Definition: TGeoGedFrame.h:18
TGTab
A tab widget contains a set of composite frames each with a little tab with a name (like a set of fol...
Definition: TGTab.h:46
unsigned int
TGeoGedFrame::SetActive
virtual void SetActive(Bool_t active=kTRUE)
Set active GUI attribute frames related to the selected object.
Definition: TGeoGedFrame.cxx:35
TGedFrame
Base frame for implementing GUI - a service class.
Definition: TGedFrame.h:27
TGeoTabManager
Manager for all editor tabs.
Definition: TGeoTabManager.h:42
TVirtualPad
TVirtualPad is an abstract base class for the Pad and Canvas classes.
Definition: TVirtualPad.h:51
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TGeoGedFrame::fTabMgr
TGeoTabManager * fTabMgr
Definition: TGeoGedFrame.h:17
kChildFrame
@ kChildFrame
Definition: GuiTypes.h:379
int