library: libGui #include "TGListView.h" |
TGLVContainer
class description - header file - source file - inheritance tree (.pdf)
protected:
virtual void ActivateItem(TGFrameElement* el)
public:
TGLVContainer(const TGWindow* p, UInt_t w, UInt_t h, UInt_t options = kSunkenFrame, Pixel_t back = GetDefaultFrameBackground())
TGLVContainer(TGCanvas* p, UInt_t options = kSunkenFrame, Pixel_t back = GetDefaultFrameBackground())
TGLVContainer(const TGLVContainer&)
virtual ~TGLVContainer()
virtual void AddItem(TGLVEntry* item)
static TClass* Class()
const char* GetHeader(Int_t idx) const
TGListView* GetListView() const
virtual TGDimension GetMaxItemSize() const
virtual Int_t GetMaxSubnameWidth(Int_t idx) const
EListViewMode GetViewMode() const
virtual TClass* IsA() const
virtual void RemoveItemWithData(void* userData)
virtual void SavePrimitive(ostream& out, Option_t* option = "")
virtual void SetColHeaders(const char* n1 = "", const char* n2 = "", const char* n3 = "", const char* n4 = "", const char* n5 = "", const char* n6 = "", const char* n7 = "", const char* n8 = "", const char* n9 = "", const char* n10 = "", const char* n11 = "", const char* n12 = "")
virtual void SetColumns(Int_t* cpos, Int_t* jmode)
void SetDefaultHeaders()
void SetHeader(const char* s, Int_t hmode, Int_t cmode, Int_t idx)
void SetHeaders(Int_t ncolumns)
virtual void SetListView(TGListView* lv)
virtual void SetViewMode(EListViewMode viewMode)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
TGLayoutHints* fItemLayout item layout hints
EListViewMode fViewMode list view viewing mode
Int_t* fCpos position of sub names
Int_t* fJmode alignment of sub names
TGListView* fListView listview which contains this container
TGLVEntry* fLastActive last active item
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).
void SetColHeaders(const char* n1,const char* n2,const char* n3, const char* n4,const char* n5,const char* n6, const char* n7,const char* n8,const char* n9, const char* n10,const char* n11,const char* n12)
set columns headers
void SetViewMode(EListViewMode viewMode)
Set list view mode for container.
void RemoveItemWithData(void *userData)
Remove item with fUserData == userData from container.
Author: Fons Rademakers 17/01/98
Last update: root/gui:$Name: $:$Id: TGListView.cxx,v 1.38 2006/07/03 16:10:45 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - 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.