Handle_t Window_t
Window handle.
Handle_t GContext_t
Graphics context handle.
Handle_t Cursor_t
Cursor handle.
ULong_t Pixel_t
Pixel value.
Handle_t FontStruct_t
Pointer to font structure.
#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 void on
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void gc
Option_t Option_t TPoint TPoint const char text
Encapsulate fonts used in the GUI system.
A subclasses of TGWindow, and is used as base class for some simple widgets (buttons,...
Encapsulate a graphics context used in the low level graphics.
TGHotString is a string with a "hot" character underlined.
The TGPicture class implements pictures and icons used in the different GUI elements and widgets.
TGString wraps a TString and adds some graphics routines like drawing, size of string on screen depen...
const char * GetString() const
Yield an action as soon as it is clicked.
void Init()
Common initialization used by the different ctors.
Int_t GetWrapLength() const
const TGHotString * GetText() const
Int_t GetLeftMargin() const
Int_t GetRightMargin() const
static FontStruct_t GetDefaultFontStruct()
Return default font structure.
void Layout() override
layout text button
virtual void SetTopMargin(Int_t val)
Bool_t HandleKey(Event_t *event) override
Handle key event. This function will be called when the hotkey is hit.
Int_t GetTopMargin() const
virtual void SetLeftMargin(Int_t val)
virtual void SetTitle(const char *label)
FontStruct_t GetFontStruct() const
virtual void SetTextJustify(Int_t tmode)
Set text justification.
virtual void SetBottomMargin(Int_t val)
const char * GetTitle() const override
Returns title of object.
virtual void SetRightMargin(Int_t val)
virtual void SetText(TGHotString *new_label)
Set new button text.
TGTextButton(const TGTextButton &)=delete
Int_t GetBottomMargin() const
static const TGFont * fgDefaultFont
Int_t GetTextJustify() const
TGDimension GetDefaultSize() const override
returns default size
void SetForegroundColor(Pixel_t fore) override
void ChangeText(const char *title)
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save a text button widget as a C++ statement(s) on output stream out.
TGTextButton & operator=(const TGTextButton &)=delete
Bool_t HasOwnFont() const
Returns kTRUE if text attributes are unique, returns kFALSE if text attributes are shared (global).
void SetWrapLength(Int_t wl)
virtual void SetFont(FontStruct_t font, Bool_t global=kFALSE)
Changes text font.
~TGTextButton() override
Delete a text button widget.
void DoRedraw() override
Draw the text button.
TString GetString() const
void SetMargins(Int_t left=0, Int_t right=0, Int_t top=0, Int_t bottom=0)
virtual void SetTextColor(Pixel_t color, Bool_t global=kFALSE)
Changes text color.
Is used to keep track of string measurement information when using the text layout facilities.
ROOT GUI Window base class.
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
const char * Data() const