TGTextLBEntry
class description - source file - inheritance tree
    protected:
      virtual void DoRedraw()
    public:
            TGTextLBEntry TGTextLBEntry(TGWindow* p, TGString* s, Int_t id, GContext_t norm = fgDefaultGC, FontStruct_t font = fgDefaultFontStruct, UInt_t options = kHorizontalFrame, ULong_t back = fgWhitePixel)
            TGTextLBEntry TGTextLBEntry(TGTextLBEntry&)
             virtual void ~TGTextLBEntry()
                  TClass* Class()
      virtual TGDimension GetDefaultSize()
          const TGString* GetText()
          virtual TClass* IsA()
                     void SetText(TGString* new_text)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
             virtual void Update(TGLBEntry* e)
    protected:
                TGString* fText                entry text string
                   UInt_t fTWidth              text width
                   UInt_t fTHeight             text height
                   Bool_t fTextChanged         true if text has been changed
               GContext_t fNormGC              text drawing graphics context
             FontStruct_t fFontStruct          font used to draw string
           static ULong_t fgSelPixel           
        static GContext_t fgDefaultGC          
      static FontStruct_t fgDefaultFontStruct  
                                                                      
 TGListBox, TGLBContainer, TGLBEntry and TGTextLBEntry                
                                                                      
 A listbox is a box, possibly with scrollbar, containing entries.     
 Currently entries are simple text strings (TGTextLBEntry).           
 A TGListBox looks a lot like a TGCanvas. It has a TGViewPort         
 containing a TGLBContainer which contains the entries and it also    
 has a vertical scrollbar which becomes visible if there are more     
 items than fit in the visible part of the container.                 
                                                                      
 The TGListBox is user callable. The other classes are service        
 classes of the listbox.                                              
                                                                      
 Selecting an item in the listbox will generate the event:            
 kC_COMMAND, kCM_LISTBOX, listbox id, item id.                        
                                                                      
 TGTextLBEntry(const TGWindow *p, TGString *s, Int_t id,
      GContext_t norm, FontStruct_t font, UInt_t options, ULong_t back) :
   TGLBEntry(p, id, options, back)
 Create a text listbox entry. The TGString is adopted.
 ~TGTextLBEntry()
 Delete text listbox entry.
void DoRedraw()
 Redraw text listbox entry.
void SetText(TGString *new_text)
 Set or change text in text entry.
Inline Functions
            TGDimension GetDefaultSize()
        const TGString* GetText()
                   void Update(TGLBEntry* e)
                TClass* Class()
                TClass* IsA()
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
          TGTextLBEntry TGTextLBEntry(TGTextLBEntry&)
Author:     Fons Rademakers   12/01/98
Last update:   2.22/05 15/06/99  16.34.37  by  Fons Rademakers
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.