TGWindow


class description - source file - inheritance tree

class TGWindow : public TGObject


    protected:
TGWindow TGWindow(Window_t id) virtual void DoRedraw() virtual const TGWindow* GetMainFrame() const public:
TGWindow TGWindow(const TGWindow* p, Int_t x, Int_t y, UInt_t w, UInt_t h, UInt_t border = 0, Int_t depth = 0, UInt_t clss = 0, void* visual = 0, SetWindowAttributes_t* attr = 0) TGWindow TGWindow(TGClient* c, Window_t id, const TGWindow* parent = 0) TGWindow TGWindow(TGWindow&) virtual void ~TGWindow() static TClass* Class() void DestroyWindow() const TGWindow* GetParent() const virtual Bool_t HandleEvent(Event_t*) virtual Bool_t HandleExpose(Event_t* event) virtual Bool_t HandleTimer(TTimer*) void IconifyWindow() virtual TClass* IsA() const virtual Bool_t IsMapped() void LowerWindow() void MapRaised() void MapSubwindows() 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) void RaiseWindow() virtual void Resize(UInt_t w, UInt_t h) void SetBackgroundColor(ULong_t color) void SetBackgroundPixmap(Pixmap_t pixmap) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void UnmapWindow()

Data Members

protected:
const TGWindow* fParent Parent window Bool_t fNeedRedraw kTRUE if window needs to be redrawn


See also

TGFrame

Class Description

                                                                      
 TGWindow                                                             
                                                                      
 ROOT GUI Window base class.                                          
                                                                      


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)
 Create a new window. Parent p must exist. No specified arguments
 result in values from parent to be taken (or defaults).

TGWindow(TGClient *c, Window_t id, const TGWindow *parent)
 Create a copy of a window.

~TGWindow()
 Window destructor. Unregisters the window.

void Move(Int_t x, Int_t y)
 Move the window.

void Resize(UInt_t w, UInt_t h)
 Resize the window.

void MoveResize(Int_t x, Int_t y, UInt_t w, UInt_t h)
 Move and resize the window.

Bool_t IsMapped()
 Returns kTRUE if window is mapped on screen, kFALSE otherwise.



Inline Functions


                   void DoRedraw()
        const TGWindow* GetMainFrame() const
               TGWindow TGWindow(TGClient* c, Window_t id, const TGWindow* parent = 0)
        const TGWindow* GetParent() const
                   void MapWindow()
                   void MapSubwindows()
                   void MapRaised()
                   void UnmapWindow()
                   void DestroyWindow()
                   void RaiseWindow()
                   void LowerWindow()
                   void IconifyWindow()
                   void SetBackgroundColor(ULong_t color)
                   void SetBackgroundPixmap(Pixmap_t pixmap)
                 Bool_t HandleExpose(Event_t* event)
                 Bool_t HandleEvent(Event_t*)
                 Bool_t HandleTimer(TTimer*)
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
               TGWindow TGWindow(TGWindow&)


Author: Fons Rademakers 28/12/97
Last update: root/gui:$Name: $:$Id: TGWindow.cxx,v 1.1.1.1 2000/05/16 17:00:42 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - 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.