29 #include <vdk/vdkcustom.h>
36 typedef VDKReadWriteValueProp<VDKCustomList,VDKPoint>
37 CustomListSelProperty;
39 class SelectionProp:
public CustomListSelProperty
49 ):CustomListSelProperty(name,object,defValue,write,read)
52 int Row()
const {
return Value().X();}
53 int Col()
const {
return Value().Y();}
108 void _update_pix(
int row,
const char* s,
char** pixdata = NULL,
int col = 0);
109 void _update_size(
int row,
int *W,
int *H);
110 void SetStyle(
int row);
111 void ConnectSignals();
113 static void ColumnClick(GtkWidget* w,
118 static int RowSelection(GtkWidget *wid,
123 static int RowUnselection(GtkWidget *wid,
126 GdkEventButton *event,
163 char **titles = NULL,
164 GtkSelectionMode mode = GTK_SELECTION_SINGLE);
176 void AddRow(
char **texts,
char** pixdata = NULL,
int col = 0);
184 char** pixdata = NULL,
int col = 0);
189 char** pixdata = NULL,
int col = 0);
198 const char* s,
char** pixdata = NULL);
235 virtual void Clear();
242 #ifdef USE_SIGCPLUSPLUS
250 VDKSignal2<void, int, int> OnRowSelect;
257 VDKSignal2<void, int, int> OnRowUnselect;
264 VDKSignal2<void, int, int> OnRowMove;
271 static void _handle_row_move(GtkWidget* wid,
int,
int,