44 fParent(0), fNeedRedraw(
kFALSE), fName(), fEditDisabled(0) {
fClient = 0;
fId = id; }
46 TGObject(tgw), fParent(tgw.fParent), fNeedRedraw(tgw.fNeedRedraw),
47 fName(tgw.fName), fEditDisabled(tgw.fEditDisabled) { }
120 virtual const char *
GetName()
const;
TGWindow & operator=(const TGWindow &tgw)
virtual UInt_t GetEditDisabled() const
void SetRoot(TGWindow *root=0)
Sets the current root (i.e.
virtual Bool_t HandleIdleEvent(TGIdleHandler *)
virtual ~TGWindow()
Window destructor. Unregisters the window.
const TGWindow * GetRoot() const
Returns current root (i.e.
virtual void MapSubwindows()
virtual ~TGUnknownWindowHandler()
virtual Bool_t IsMapSubwindows() const
virtual Bool_t HandleTimer(TTimer *)
Execute action in response of a timer timing out.
virtual void DestroySubwindows()
virtual Int_t MustCleanup() const
virtual void LowerWindow()
#define ClassDef(name, id)
virtual void ReparentWindow(const TGWindow *p, Int_t x=0, Int_t y=0)
Reparent window, make p the new parent and position the window at position (x,y) in new parent...
virtual void SetName(const char *name)
virtual Bool_t HandleExpose(Event_t *event)
virtual const TGWindow * GetMainFrame() const
Returns top level main frame.
virtual void Print(Option_t *option="") const
Print window id.
virtual void RequestFocus()
virtual void Resize(UInt_t w, UInt_t h)
Resize the window.
virtual const char * GetName() const
Return unique name, used in SavePrimitive methods.
Handles synchronous and a-synchronous timer events.
virtual void SetBackgroundPixmap(Pixmap_t pixmap)
virtual void Move(Int_t x, Int_t y)
Move the window.
virtual void IconifyWindow()
virtual Bool_t HandleEvent(Event_t *)
virtual void RaiseWindow()
virtual Bool_t IsMapped()
Returns kTRUE if window is mapped on screen, kFALSE otherwise.
TGObject & operator=(const TGObject &tgo)
const TGWindow * GetParent() const
Mother of all ROOT objects.
virtual void MoveResize(Int_t x, Int_t y, UInt_t w, UInt_t h)
Move and resize the window.
virtual void SetBackgroundColor(Pixel_t color)
virtual void SetEditDisabled(UInt_t on=kEditDisable)
virtual Bool_t IsEditable() const
static Int_t GetCounter()
Return global window counter (total number of created windows).
TGWindow(const TGWindow &tgw)
virtual void SetMapSubwindows(Bool_t)
void NeedRedraw(TGWindow *w, Bool_t force=kFALSE)
Set redraw flags.
virtual void UnmapWindow()
virtual void SetEditable(Bool_t on=kTRUE)
virtual void DestroyWindow()
virtual void SetWindowName(const char *name=0)
Set window name.