76 void *visual =
nullptr,
120 const char *
GetName()
const override;
Handle_t Pixmap_t
Pixmap handle.
Handle_t Window_t
Window handle.
ULong_t Pixel_t
Pixel value.
#define ClassDefOverride(name, id)
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 on
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
const TGWindow * GetRoot() const
Returns current root (i.e.
void SetRoot(TGWindow *root=nullptr)
Sets the current root (i.e.
void NeedRedraw(TGWindow *w, Bool_t force=kFALSE)
Set redraw flags.
This class is the baseclass for all ROOT GUI widgets.
TGClient * fClient
Connection to display server.
TGObject & operator=(const TGObject &tgo)
Handle_t fId
X11/Win32 Window identifier.
Handle events for windows that are not part of the native ROOT GUI.
virtual ~TGUnknownWindowHandler()
virtual Bool_t HandleEvent(Event_t *)=0
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 Bool_t HandleEvent(Event_t *)
Bool_t HandleTimer(TTimer *) override
Execute action in response of a timer timing out.
TGWindow(const TGWindow &tgw)
virtual ~TGWindow()
Window destructor. Unregisters the window.
virtual void MapRaised()
map raised
static Int_t fgCounter
counter of created windows in SavePrimitive
virtual Bool_t HandleIdleEvent(TGIdleHandler *)
TGWindow & operator=(const TGWindow &tgw)
void Print(Option_t *option="") const override
Print window id.
virtual UInt_t GetEditDisabled() const
virtual void SetBackgroundPixmap(Pixmap_t pixmap)
set background pixmap
virtual void RequestFocus()
request focus
virtual void SetEditDisabled(UInt_t on=kEditDisable)
virtual Bool_t HandleExpose(Event_t *event)
virtual void SetName(const char *name)
const TGWindow * fParent
Parent window.
virtual void DestroySubwindows()
destroy sub windows
virtual void SetMapSubwindows(Bool_t)
virtual void SetEditable(Bool_t on=kTRUE)
virtual Int_t MustCleanup() const
@ kEditDisableResize
window size cannot be edited
@ kEditDisableHeight
window height cannot be edited
@ kEditEnable
allow edit of this window
@ kEditDisableLayout
window layout cannot be edited
@ kEditDisableBtnEnable
window can handle mouse button events
@ kEditDisableWidth
window width cannot be edited
@ kEditDisableGrab
window grab cannot be edited
@ kEditDisable
disable edit of this window
@ kEditDisableEvents
window events cannot be edited
@ kEditDisableKeyEnable
window can handle keyboard events
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 Bool_t IsMapSubwindows() const
virtual void LowerWindow()
lower window
virtual void DestroyWindow()
destroy window
virtual Bool_t IsEditable() const
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
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"
Mother of all ROOT objects.
Handles synchronous and a-synchronous timer events.
Attributes that can be used when creating or changing a window.