ui/gtk/list.h

changeset 738
0dbf92544d4f
parent 722
6466b4f16e5e
child 739
3236d5ed3a95
equal deleted inserted replaced
737:ac7f0869e8ae 738:0dbf92544d4f
45 GtkWidget *widget; 45 GtkWidget *widget;
46 UiVar *var; 46 UiVar *var;
47 UiModel *model; 47 UiModel *model;
48 ui_getvaluefunc2 getvalue; 48 ui_getvaluefunc2 getvalue;
49 void *getvaluedata; 49 void *getvaluedata;
50 ui_stylefunc getstyle;
51 void *getstyledata;
50 char **elements; 52 char **elements;
51 size_t nelm; 53 size_t nelm;
54 int current_row;
55 UiTextStyle row_style;
56 UiBool apply_row_style;
52 #if GTK_CHECK_VERSION(4, 10, 0) 57 #if GTK_CHECK_VERSION(4, 10, 0)
53 GListStore *liststore; 58 GListStore *liststore;
54 GtkSelectionModel *selectionmodel; 59 GtkSelectionModel *selectionmodel;
55 UiColData *columns; 60 UiColData *columns;
61 PangoAttrList *default_attributes; // TODO: remove
62 PangoAttrList *current_row_attributes;
56 #endif 63 #endif
57 ui_callback onactivate; 64 ui_callback onactivate;
58 void *onactivatedata; 65 void *onactivatedata;
59 ui_callback onselection; 66 ui_callback onselection;
60 void *onselectiondata; 67 void *onselectiondata;

mercurial