10 #ifndef __KVLISTVIEW_H
11 #define __KVLISTVIEW_H
154 UInt_t options = kSunkenFrame | kDoubleBorder,
166 Int_t mode = kTextCenterX);
#define ClassDef(name, id)
include TDocParser_001 C image html pict1_TDocParser_001 png width
Utility class describing the data used to fill each column of the list view container.
Extension of TGLVContainer for KVListView widget.
Enhanced version of ROOT TGListView widget.
virtual void ActivateSortButtons()
virtual void SetDataColumns(Int_t ncolumns)
virtual void Sort(Int_t column)
void SetDoubleClickAction(const char *receiver_class, void *receiver, const char *slot)
TObject * GetLastInList() const
void ActivateItemWithColumnData(const Char_t *colname, Long_t data, Bool_t activate=kTRUE)
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
Handle messages generated by the list view container.
void AllowBrowse(Bool_t on=kTRUE)
virtual void UnSelectAll()
virtual KVLVColumnData * GetDataColumn(Int_t index) const
virtual void Display(const TCollection *l)
void SetObjClass(TClass *cl)
virtual void SetMaxColumnSize(UInt_t width)
TObject * GetLastSelectedObject() const
KVListView(TClass *obj_class, const TGWindow *p, UInt_t w, UInt_t h, UInt_t options=kSunkenFrame|kDoubleBorder, Pixel_t back=GetDefaultFrameBackground())
TGLVEntry * FindItemWithData(void *userData)
TCollection * GetUserItems()
virtual void SetDefaultColumnWidth(TGVFileSplitter *splitter)
void ActivateItemsWithColumnData(const Char_t *colname, KVNumberList data, Bool_t activate=kTRUE)
void ActivateItemWithColumnData(const Char_t *colname, Double_t data, Bool_t activate=kTRUE)
UInt_t fMaxColumnSize
maximum width of columns
void AddContextMenuClassException(TClass *)
TList * GetSelectedItems() const
TGLVEntry * FindItemWithColumnData(const Char_t *colname, Long_t data)
virtual Int_t GetColumnNumber(const Char_t *colname)
TGLVEntry * GetLastSelectedItem() const
KVList * GetPickOrderedSelectedObjects() const
int nselected
number of selected items
void ActivateItemWithColumnData(const Char_t *colname, const Char_t *data, Bool_t activate=kTRUE)
TClass * GetObjClass() const
TList * GetSelectedObjects() const
TClass * fObjClass
class of objects in list
TObject * GetFirstInList() const
TGLVEntry * FindItemWithColumnData(const Char_t *colname, Double_t data)
TContextMenu * fContextMenu
void AllowMultipleSelection(Bool_t yes=kTRUE)
void AllowDoubleClick(Bool_t on=kTRUE)
void AllowContextMenu(Bool_t on=kTRUE)
Bool_t GetMultipleSelection() const
TGLVEntry * FindItemWithColumnData(const Char_t *colname, const Char_t *data)
virtual void SetDataColumn(Int_t index, const Char_t *name, const Char_t *method="", Int_t mode=kTextCenterX)
void ActivateItemWithData(void *userData, Bool_t activate=kTRUE)
void SetUseObjLabelAsRealClass(Bool_t yes=kTRUE)
Extended TList class which owns its objects by default.
Strings used to represent a set of ranges of values.
TGFrame * GetContainer() const
static Pixel_t GetDefaultFrameBackground()