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