Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
9class TGTab;
10class TGeoTabManager;
11class TVirtualPad;
12
13class TGeoGedFrame : public TGedFrame {
14
15protected:
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
20public:
21 TGeoGedFrame(const TGWindow *p = nullptr, Int_t width = 140, Int_t height = 30, UInt_t options = kChildFrame,
23
24 virtual void SetActive(Bool_t active = kTRUE);
25 void Update() override;
26
27 ClassDefOverride(TGeoGedFrame, 0) // Common base-class for geombuilder editors.
28};
29
30#endif
@ kChildFrame
Definition GuiTypes.h:379
ULong_t Pixel_t
Pixel value.
Definition GuiTypes.h:40
constexpr Bool_t kTRUE
Definition RtypesCore.h:100
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t width
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition TGFrame.cxx:683
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
ROOT GUI Window base class.
Definition TGWindow.h:23
Base frame for implementing GUI - a service class.
Definition TGedFrame.h:27
Common base class for geombuilder editors.
void Update() override
Override Update from TGedFrame as fGedEditor can be null.
TVirtualPad * fPad
virtual void SetActive(Bool_t active=kTRUE)
Set active GUI attribute frames related to the selected object.
TGeoTabManager * fTabMgr
Manager for all editor tabs.
TVirtualPad is an abstract base class for the Pad and Canvas classes.
Definition TVirtualPad.h:51