class description - source file - inheritance tree

class TGLVEntry : public TGFrame

virtual void DoRedraw() public:
TGLVEntry TGLVEntry(const TGWindow* p, const TGPicture* bigpic, const TGPicture* smallpic, TGString* name, TGString** subnames, EListViewMode ViewMode, UInt_t options = kChildFrame, ULong_t back = GetWhitePixel()) TGLVEntry TGLVEntry(const TGLVEntry&) virtual void ~TGLVEntry() virtual void Activate(Bool_t a) static TClass* Class() virtual void DrawCopy(Handle_t id, Int_t x, Int_t y) virtual TGDimension GetDefaultSize() const TGString* GetItemName() const const TGPicture* GetPicture() const virtual Int_t GetSubnameWidth(Int_t idx) const void* GetUserData() const virtual TClass* IsA() const virtual Bool_t IsActive() const void SetColumns(Int_t* cpos, Int_t* jmode) void SetItemName(const char* name) void SetUserData(void* userData) virtual void SetViewMode(EListViewMode ViewMode) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

TGString* fName name of item TGString** fSubnames sub names of item (details) Int_t* fCpos position of sub names Int_t* fJmode alignment for sub names Int_t* fCtw width of sub names UInt_t fTWidth width of name UInt_t fTHeight height of name Bool_t fActive true if item is active EListViewMode fViewMode list view viewing mode const TGPicture* fBigPic big icon const TGPicture* fSmallPic small icon const TGPicture* fCurrent current icon TGSelectedPicture* fSelPic selected icon GContext_t fNormGC drawing graphics context FontStruct_t fFontStruct text font void* fUserData pointer to user data structure static FontStruct_t fgDefaultFontStruct static TGGC fgDefaultGC static ULong_t fgSelPixel

See also


Class Description

 TGListView, TGLVContainer and TGLVEntry                              
 A list view is a widget that can contain a number of items           
 arranged in a grid or list. The items can be represented either      
 by a string or by an icon.                                           
 The TGListView is user callable. The other classes are service       
 classes of the list view.                                            
 A list view can generate the following events:                       
 kC_CONTAINER, kCT_SELCHANGED, total items, selected items.           
 kC_CONTAINER, kCT_ITEMCLICK, which button, location (y<<16|x).       
 kC_CONTAINER, kCT_ITEMDBLCLICK, which button, location (y<<16|x).    

TGLVEntry(const TGWindow *p, const TGPicture *bigpic, const TGPicture *smallpic, TGString *name, TGString **subnames, EListViewMode viewMode, UInt_t options, ULong_t back) : TGFrame(p, 10, 10, options, back)
 Create a list view item.

 Delete a list view item.

void Activate(Bool_t a)
 Make list view item active.

void SetViewMode(EListViewMode viewMode)
 Set the view mode for this list item.

void DoRedraw()
 Redraw list view item.
 List view item is placed and layouted in the container frame,
 but is drawn in viewport.

void DrawCopy(Handle_t id,Int_t x, Int_t y)
 Draw list view item in other window.
 List view item is placed and layouted in the container frame,
 but is drawn in viewport.

TGDimension GetDefaultSize() const
 Get default size of list item.

Inline Functions

                  Bool_t IsActive() const
               TGString* GetItemName() const
                    void SetItemName(const char* name)
        const TGPicture* GetPicture() const
                    void SetUserData(void* userData)
                   void* GetUserData() const
                    void SetColumns(Int_t* cpos, Int_t* jmode)
                   Int_t GetSubnameWidth(Int_t idx) const
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
               TGLVEntry TGLVEntry(const TGLVEntry&)

Author: Fons Rademakers 17/01/98
Last update: root/gui:$Name: $:$Id: TGListView.cxx,v 1.11 2002/07/18 10:34:25 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.