ui/gtk/list.h

changeset 109
c3dfcb8f0be7
parent 108
77254bd6dccb
child 110
c00e968d018b
equal deleted inserted replaced
108:77254bd6dccb 109:c3dfcb8f0be7
43 typedef struct UiListView { 43 typedef struct UiListView {
44 UiObject *obj; 44 UiObject *obj;
45 GtkWidget *widget; 45 GtkWidget *widget;
46 UiVar *var; 46 UiVar *var;
47 UiModel *model; 47 UiModel *model;
48 ui_getvaluefunc2 getvalue;
49 void *getvaluedata;
48 char **elements; 50 char **elements;
49 size_t nelm; 51 size_t nelm;
50 #if GTK_CHECK_VERSION(4, 10, 0) 52 #if GTK_CHECK_VERSION(4, 10, 0)
51 GListStore *liststore; 53 GListStore *liststore;
52 GtkSelectionModel *selectionmodel; 54 GtkSelectionModel *selectionmodel;
89 UiBool separator; 91 UiBool separator;
90 CxList *widgets; 92 CxList *widgets;
91 UiListBox *listbox; 93 UiListBox *listbox;
92 void *userdata; 94 void *userdata;
93 size_t index; 95 size_t index;
96 size_t startpos;
94 } UiListBoxSubList; 97 } UiListBoxSubList;
95 98
96 struct UiListBox { 99 struct UiListBox {
97 UiObject *obj; 100 UiObject *obj;
98 GtkListBox *listbox; 101 GtkListBox *listbox;

mercurial