110 { fMLeft = left; fMRight = right; fMTop = top; fMBottom = bottom; }
static FontStruct_t GetDefaultFontStruct()
Static returning label default font struct.
virtual void DrawText(GContext_t gc, Int_t x, Int_t y)
Draw text at position (x, y).
void SetText(Int_t number)
static const TGFont * fgDefaultFont
virtual void SetTextColor(Pixel_t color, Bool_t global=kFALSE)
Changes text color.
const TGString * GetText() const
Int_t GetLeftMargin() const
virtual void SetTextFont(TGFont *font, Bool_t global=kFALSE)
Changes text font specified by pointer to TGFont object.
void SetWrapLength(Int_t wl)
void SetText(const char *newText)
Int_t GetBottomMargin() const
#define ClassDef(name, id)
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
virtual void SetText(TGString *newText)
Set new text in label.
static const TGGC & GetDefaultGC()
Static returning label default graphics context.
virtual void ChangeText(const char *newText)
Int_t GetWrapLength() const
TGLabel & operator=(const TGLabel &)
virtual void Disable(Bool_t on=kTRUE)
virtual void Layout()
Layout label.
Int_t GetTopMargin() const
Bool_t IsDisabled() const
virtual const char * GetTitle() const
Returns title of object.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a label widget as a C++ statement(s) on output stream out.
virtual void SetForegroundColor(Pixel_t fore)
FontStruct_t GetFontStruct() const
virtual void SetTitle(const char *label)
The color creation and management class.
void Set3DStyle(Int_t style)
Int_t GetRightMargin() const
GContext_t GetNormGC() const
void SetTextJustify(Int_t tmode)
Set text justification.
FontStruct_t GetFontStruct() const
virtual void DoRedraw()
Redraw label widget.
void NeedRedraw(TGWindow *w, Bool_t force=kFALSE)
Set redraw flags.
static const TGGC * fgDefaultGC
Bool_t HasOwnFont() const
Returns kTRUE if text attributes are unique.
void SetMargins(Int_t left=0, Int_t right=0, Int_t top=0, Int_t bottom=0)
virtual TGDimension GetDefaultSize() const
Return default size.
virtual ~TGLabel()
Delete label.
Int_t GetTextJustify() const
const char * Data() const