10#include "KVListView.h"
27 :
TGListView(p, w, h, options, back), nselected(0), fObjClass(obj_class)
81 buttons[i]->
Connect(
"Clicked()",
"KVLVContainer",
131 if (
fColNames[idx] == colname)
return idx;
154 Error(
"SetDefaultColumnWidth",
"no listview container set yet");
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
Option_t Option_t TPoint TPoint const char mode
char * Form(const char *fmt,...)
Extension of TGLVContainer for KVListView widget.
Enhanced version of ROOT TGListView widget.
virtual void ActivateSortButtons()
virtual void SetDataColumns(Int_t ncolumns)
void SetDoubleClickAction(const char *receiver_class, void *receiver, const char *slot)
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
Handle messages generated by the list view container.
virtual void SetDefaultColumnWidth(TGVFileSplitter *splitter)
void AddContextMenuClassException(TClass *)
virtual Int_t GetColumnNumber(const Char_t *colname)
int nselected
number of selected items
TClass * fObjClass
class of objects in list
virtual void SetDataColumn(Int_t index, const Char_t *name, const Char_t *method="", Int_t mode=kTextCenterX)
void SetUseObjLabelAsRealClass(Bool_t yes=kTRUE)
TGFrame * GetContainer() const
Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t parm2) override
virtual void ClearViewPort()
virtual UInt_t GetDefaultWidth() const
virtual void Resize(TGDimension size)
virtual Int_t GetMaxSubnameWidth(Int_t idx) const
TGDimension GetPageDimension() const override
virtual void SetHeader(const char *s, Int_t hmode, Int_t cmode, Int_t idx)
TGTextButton ** GetHeaderButtons()
virtual void SetHeaders(Int_t ncolumns)
virtual void SelectionChanged()
TGTextButton ** fColHeader
TGVFileSplitter ** fSplitHeader
TString GetString() const
TGFrame * GetContainer() const
virtual void Error(const char *method, const char *msgfmt,...) const
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
const char * Data() const
Double_t Max(Double_t a, Double_t b)