--- a/ui/gtk/list.h Thu Sep 10 17:36:06 2026 +0200 +++ b/ui/gtk/list.h Fri Sep 11 17:27:12 2026 +0200 @@ -152,8 +152,6 @@ CxList *rows; ui_sourcelist_getvalue_func getvalue; void *getvaluedata; - ui_tree_getdepthfunc getdepth; - void *getdepthdata; ui_callback onactivate; void *onactivatedata; @@ -165,10 +163,13 @@ typedef struct UiListBox2Row { UiListBox2 *listbox; - CxList *children; // type: int (index) + GtkWidget *row; + GtkWidget *expander; + CxList *children; // type: UiListBox2Row* int index; int depth; - int expanded; + UiBool expanded; + UiBool heading; } UiListBox2Row; void* ui_null_getvalue(UiList *list, void *elm, int row, int col, void *userdata, UiBool *freeResult);