ui/gtk/list.h

changeset 738
0dbf92544d4f
parent 722
6466b4f16e5e
child 739
3236d5ed3a95
--- a/ui/gtk/list.h	Sat Aug 30 10:18:09 2025 +0200
+++ b/ui/gtk/list.h	Sat Aug 30 16:02:52 2025 +0200
@@ -47,12 +47,19 @@
     UiModel           *model;
     ui_getvaluefunc2  getvalue;
     void              *getvaluedata;
+    ui_stylefunc      getstyle;
+    void              *getstyledata;
     char              **elements;
     size_t            nelm;
+    int               current_row;
+    UiTextStyle       row_style;
+    UiBool            apply_row_style;
 #if GTK_CHECK_VERSION(4, 10, 0)
     GListStore        *liststore;
     GtkSelectionModel *selectionmodel;
     UiColData         *columns;
+    PangoAttrList     *default_attributes; // TODO: remove
+    PangoAttrList     *current_row_attributes;
 #endif
     ui_callback       onactivate;
     void              *onactivatedata;

mercurial