67 depth, clss, visual, attr, type);
120 if (!name &&
gDebug > 0) {
123 wname +=
"::" +
fName;
202 std::cout <<
"\t" << parent->
ClassName() <<
":\t" << parent->
GetId() << std::endl;
virtual ~TGWindow()
Window destructor. Unregisters the window.
TString & ReplaceAll(const TString &s1, const TString &s2)
virtual Bool_t IsMapSubwindows() const
void UnregisterWindow(TGWindow *w)
Remove a TGWindow from the list of windows.
TString & Replace(Ssiz_t pos, Ssiz_t n, const char *s)
virtual const char * ClassName() const
Returns name of class to which the object belongs.
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...
void RegisterWindow(TGWindow *w)
Add a TGWindow to the clients list of windows.
virtual const TGWindow * GetMainFrame() const
Returns top level main frame.
virtual void Print(Option_t *option="") const
Print window id.
virtual void Resize(UInt_t w, UInt_t h)
Resize the window.
Bool_t IsEditable() const
Bool_t BeginsWith(const char *s, ECaseCompare cmp=kExact) const
virtual const char * GetName() const
Return unique name, used in SavePrimitive methods.
virtual void Move(Int_t x, Int_t y)
Move the window.
TString & Remove(Ssiz_t pos)
virtual Bool_t IsMapped()
Returns kTRUE if window is mapped on screen, kFALSE otherwise.
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
const TGWindow * GetParent() const
virtual void MoveResize(Int_t x, Int_t y, UInt_t w, UInt_t h)
Move and resize the window.
Short_t Max(Short_t a, Short_t b)
static Int_t GetCounter()
Return global window counter (total number of created windows).
const TGWindow * GetDefaultRoot() const
Returns the root (i.e.
virtual void DestroyWindow()
virtual void SetWindowName(const char *name=0)
Set window name.
const char * Data() const