60 "gClient and gApplication are nullptr!\n"
61 "Please add a TApplication instance in the main() function of your application\n");
317 std::cout <<
"\t" << parent->
ClassName() <<
":\t" << parent->
GetId() << std::endl;
342 if (
cname.BeginsWith(
"TGed"))
343 cname.Replace(0, 1,
'f');
344 else if (
cname.BeginsWith(
"TG"))
345 cname.Replace(0,2,
'f');
347 cname.Replace(0, 1,
'f');
348 w->fName.Remove(0,5);
352 if (
w->fName.Contains(
" "))
353 w->fName.ReplaceAll(
" ",
"");
354 if (
w->fName.Contains(
":"))
355 w->fName.ReplaceAll(
":",
"");
Handle_t Pixmap_t
Pixmap handle.
Handle_t Window_t
Window handle.
ULong_t Pixel_t
Pixel value.
R__EXTERN TApplication * gApplication
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize id
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char cname
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t attr
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
R__EXTERN TSystem * gSystem
const TGWindow * GetDefaultRoot() const
Returns the root (i.e.
Bool_t IsEditable() const
void RegisterWindow(TGWindow *w)
Add a TGWindow to the clients list of windows.
void UnregisterWindow(TGWindow *w)
Remove a TGWindow from the list of windows.
TGClient * fClient
Connection to display server.
Handle_t fId
X11/Win32 Window identifier.
Handle events for windows that are not part of the native ROOT GUI.
ROOT GUI Window base class.
virtual const TGWindow * GetMainFrame() const
Returns top level main frame.
virtual void Move(Int_t x, Int_t y)
Move the window.
virtual void MapRaised()
map raised
static Int_t fgCounter
counter of created windows in SavePrimitive
void Print(Option_t *option="") const override
Print window id.
virtual void SetBackgroundPixmap(Pixmap_t pixmap)
set background pixmap
virtual void RequestFocus()
request focus
const TGWindow * fParent
Parent window.
virtual void DestroySubwindows()
destroy sub windows
@ kEditDisable
disable edit of this window
virtual void IconifyWindow()
iconify window
virtual void MoveResize(Int_t x, Int_t y, UInt_t w, UInt_t h)
Move and resize the window.
virtual void MapWindow()
map window
virtual void UnmapWindow()
unmap window
virtual void LowerWindow()
lower window
virtual void DestroyWindow()
destroy window
virtual void SetWindowName(const char *name=nullptr)
Set window name.
static Int_t GetCounter()
Return global window counter (total number of created windows).
const TGWindow * GetParent() const
virtual Bool_t IsMapped()
Returns kTRUE if window is mapped on screen, kFALSE otherwise.
virtual void Resize(UInt_t w, UInt_t h)
Resize the window.
virtual void SetBackgroundColor(Pixel_t color)
set background color
TString fName
name of the window used in SavePrimitive()
virtual void RaiseWindow()
raise window
~TGWindow() override
Window destructor. Unregisters the window.
const char * GetName() const override
Return unique name, used in SavePrimitive methods.
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.
Bool_t fNeedRedraw
kTRUE if window needs to be redrawn
virtual void MapSubwindows()
map sub windows
UInt_t fEditDisabled
flags used for "guibuilding"
virtual const char * ClassName() const
Returns name of class to which the object belongs.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
const char * Data() const
Bool_t BeginsWith(const char *s, ECaseCompare cmp=kExact) const
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
virtual void Exit(int code, Bool_t mode=kTRUE)
Exit the application.
Short_t Max(Short_t a, Short_t b)
Returns the largest of a and b.
Attributes that can be used when creating or changing a window.
Window attributes that can be inquired.