TGWindow


class description - source file - inheritance tree

class TGWindow : public TGObject


    protected:
TGWindow TGWindow(Window_t id) virtual void DoRedraw() virtual const TGWindow* GetMainFrame() public:
TGWindow TGWindow(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, TGWindow* parent = 0) TGWindow TGWindow(TGWindow&) virtual void ~TGWindow() TClass* Class() void DestroyWindow() const TGWindow* GetParent() virtual Bool_t HandleEvent(Event_t*) virtual Bool_t HandleExpose(Event_t* event) virtual Bool_t HandleTimer(TTimer*) virtual TClass* IsA() 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:
static 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()
               TGWindow TGWindow(TGClient* c, Window_t id, TGWindow* parent = 0)
        const TGWindow* GetParent()
                   void MapWindow()
                   void MapSubwindows()
                   void MapRaised()
                   void UnmapWindow()
                   void DestroyWindow()
                   void RaiseWindow()
                   void LowerWindow()
                   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()
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
               TGWindow TGWindow(TGWindow&)


Author: Fons Rademakers 28/12/97
Last update: 2.00/13 28/10/98 11.14.52 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


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.