TGLBEntry


class description - source file - inheritance tree

class TGLBEntry : public TGFrame


    protected:
virtual void DoRedraw() public:
TGLBEntry TGLBEntry(const TGWindow* p, Int_t id, UInt_t options = kHorizontalFrame, ULong_t back = GetWhitePixel()) TGLBEntry TGLBEntry(const TGLBEntry&) void ~TGLBEntry() virtual void Activate(Bool_t a) static TClass* Class() Int_t EntryId() const virtual TClass* IsA() const virtual Bool_t IsActive() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual void Toggle() virtual void Update(TGLBEntry*)

Data Members


    protected:
Int_t fEntryId message id of listbox entry ULong_t fBkcolor entry background color Bool_t fActive true if entry is active


See also

TGTextLBEntry, TGTreeLBEntry

Class Description

                                                                      
 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.                        
                                                                      


void Activate(Bool_t a)
 Toggle active state of listbox entry.

void Toggle()
 Toggle active state of listbox entry.



Inline Functions


               void DoRedraw()
          TGLBEntry TGLBEntry(const TGWindow* p, Int_t id, UInt_t options = kHorizontalFrame, ULong_t back = GetWhitePixel())
               void Update(TGLBEntry*)
              Int_t EntryId() const
             Bool_t IsActive() const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
          TGLBEntry TGLBEntry(const TGLBEntry&)
               void ~TGLBEntry()


Author: Fons Rademakers 12/01/98
Last update: root/gui:$Name: $:$Id: TGListBox.cxx,v 1.8 2001/10/16 17:28:35 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


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.