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