ui/gtk/tree.h

branch
newapi
changeset 270
9389313ac00f
parent 268
1b321a0c624f
--- a/ui/gtk/tree.h	Thu Feb 22 22:25:53 2024 +0100
+++ b/ui/gtk/tree.h	Sat Feb 24 20:20:34 2024 +0100
@@ -76,7 +76,7 @@
 int ui_tree_path_list_index(GtkTreePath *path);
 
 UIWIDGET ui_combobox_var(UiObject *obj, UiVar *var, ui_getvaluefunc getvalue, ui_callback f, void *udata);
-GtkWidget* ui_create_combobox(UiObject *obj, GtkListStore *store, ui_callback f, void *udata);
+GtkWidget* ui_create_combobox(UiObject *obj, UiModel *model, UiVar *var, ui_callback f, void *udata);
 void ui_combobox_change_event(GtkComboBox *widget, UiEventData *e);
 void ui_combobox_modelupdate(UiList *list, int i);
         

mercurial