TGLabel
class description - source file - inheritance tree
    protected:
      virtual void DoRedraw()
    public:
                  TGLabel TGLabel(const TGWindow* p, TGString* text, GContext_t norm = fgDefaultGC, FontStruct_t font = fgDefaultFontStruct, UInt_t options = kChildFrame, ULong_t back = fgDefaultFrameBackground)
                  TGLabel TGLabel(const TGWindow* p, const char* text, GContext_t norm = fgDefaultGC, FontStruct_t font = fgDefaultFontStruct, UInt_t options = kChildFrame, ULong_t back = fgDefaultFrameBackground)
                  TGLabel TGLabel(TGLabel&)
             virtual void ~TGLabel()
                  TClass* Class()
      virtual TGDimension GetDefaultSize() const
          const TGString* GetText() const
          virtual TClass* IsA() const
                     void SetText(TGString* new_text)
                     void SetTextJustify(Int_t tmode)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
    protected:
                TGString* fText                label text
                   UInt_t fTWidth              text width
                   UInt_t fTHeight             text height
                    Int_t fTMode               text drawing mode (ETextJustification)
                   Bool_t fTextChanged         has text changed
               GContext_t fNormGC              graphics context used for drawing label
             FontStruct_t fFontStruct          font to draw label
        static GContext_t fgDefaultGC          
      static FontStruct_t fgDefaultFontStruct  
                                                                      
 TGLabel                                                              
                                                                      
 This class handles GUI labels.                                       
                                                                      
 TGLabel(const TGWindow *p, TGString *text, GContext_t norm,
                 FontStruct_t font, UInt_t options, ULong_t back) :
    TGFrame(p, 1, 1, options, back)
 Create a label GUI object. TGLabel will become the owner of the
 text and will delete it in its dtor.
 TGLabel(const TGWindow *p, const char *text, GContext_t norm,
                 FontStruct_t font, UInt_t options, ULong_t back) :
    TGFrame(p, 1, 1, options, back)
 Create a label GUI object.
 ~TGLabel()
 Delete label.
void SetText(TGString *new_text)
 Set new text in label. After calling this method one needs to call
 the parents frame's Layout() method to force updating of the label size.
void DoRedraw()
 Redraw label widget.
Inline Functions
            TGDimension GetDefaultSize() const
        const TGString* GetText() const
                   void SetTextJustify(Int_t tmode)
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                TGLabel TGLabel(TGLabel&)
Author:     Fons Rademakers   06/01/98
Last update:   2.23/02 02/09/99  15.54.27  by  Rene Brun
Copyright (c) 1995-1999, The ROOT System, All rights reserved.         *
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.