library: libGui #include "TGWindow.h" |
TGWindow
class description - header file - source file - inheritance tree (.pdf)
protected:
TGWindow(Window_t id)
TGWindow(const TGWindow& tgw)
virtual void DoRedraw()
TGWindow& operator=(const TGWindow& tgw)
public:
TGWindow(const TGWindow* p = 0, Int_t x = 0, Int_t y = 0, UInt_t w = 0, UInt_t h = 0, UInt_t border = 0, Int_t depth = 0, UInt_t clss = 0, void* visual = 0, SetWindowAttributes_t* attr = 0, UInt_t wtype = 0)
TGWindow(TGClient* c, Window_t id, const TGWindow* parent = 0)
virtual ~TGWindow()
static TClass* Class()
virtual void DestroySubwindows()
virtual void DestroyWindow()
static Int_t GetCounter()
virtual UInt_t GetEditDisabled() const
virtual const TGWindow* GetMainFrame() const
virtual const char* GetName() const
const TGWindow* GetParent() const
virtual Bool_t HandleEvent(Event_t*)
virtual Bool_t HandleExpose(Event_t* event)
virtual Bool_t HandleIdleEvent(TGIdleHandler*)
virtual Bool_t HandleTimer(TTimer*)
virtual void IconifyWindow()
virtual TClass* IsA() const
virtual Bool_t IsEditable() const
virtual Bool_t IsMapped()
virtual Bool_t IsMapSubwindows() const
virtual void LowerWindow()
virtual void MapRaised()
virtual void MapSubwindows()
virtual void MapWindow()
virtual void Move(Int_t x, Int_t y)
virtual void MoveResize(Int_t x, Int_t y, UInt_t w, UInt_t h)
virtual Int_t MustCleanup() const
virtual void Print(Option_t* option = "") const
virtual void RaiseWindow()
virtual void ReparentWindow(const TGWindow* p, Int_t x = 0, Int_t y = 0)
virtual void RequestFocus()
virtual void Resize(UInt_t w, UInt_t h)
virtual void SetBackgroundColor(Pixel_t color)
virtual void SetBackgroundPixmap(Pixmap_t pixmap)
virtual void SetEditable(Bool_t on = kTRUE)
virtual void SetEditDisabled(UInt_t on = kEditDisable)
virtual void SetMapSubwindows(Bool_t)
virtual void SetName(const char* name)
virtual void SetWindowName(const char* name = "0")
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
virtual void UnmapWindow()
protected:
const TGWindow* fParent Parent window
Bool_t fNeedRedraw kTRUE if window needs to be redrawn
TString fName name of the window used in SavePrimitive()
static Int_t fgCounter counter of created windows in SavePrimitive
UInt_t fEditDisabled flags used for "guibuilding"
public:
static const TGWindow::EEditMode kEditEnable
static const TGWindow::EEditMode kEditDisable
static const TGWindow::EEditMode kEditDisableEvents
static const TGWindow::EEditMode kEditDisableGrab
static const TGWindow::EEditMode kEditDisableLayout
static const TGWindow::EEditMode kEditDisableResize
static const TGWindow::EEditMode kEditDisableHeight
static const TGWindow::EEditMode kEditDisableWidth
static const TGWindow::EEditMode kEditDisableBtnEnable
static const TGWindow::EEditMode kEditDisableKeyEnable
TGWindow(const TGWindow *p, Int_t x, Int_t y, UInt_t w, UInt_t h, UInt_t border, Int_t depth, UInt_t clss, void *visual, SetWindowAttributes_t *attr, UInt_t wtype)
Create a new window. Parent p must exist otherwise the root window
is taken as parent. No arguments specified results in values from
parent to be taken (or defaults).
~TGWindow()
Window destructor. Unregisters the window.
void Print(Option_t *option)
Print window id.
If option is "tree" - print all parent windows tree
Int_t GetCounter()
Return global window counter (total number of created windows).
Author: Fons Rademakers 28/12/97
Last update: root/gui:$Name: $:$Id: TGWindow.cxx,v 1.26 2006/05/18 16:32:02 antcheva 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.