make/vs/testapp/main.c

branch
newapi
changeset 218
d06e7e8e53e1
parent 216
391c2c723029
child 219
527a66c0afb2
--- a/make/vs/testapp/main.c	Sat Oct 14 10:01:22 2023 +0200
+++ b/make/vs/testapp/main.c	Sat Oct 14 10:55:11 2023 +0200
@@ -270,7 +270,7 @@
 
             UiModel* model = ui_model(obj->ctx, UI_ICON_TEXT, "Col 1", UI_STRING, "Col 2", UI_STRING, "Col 3", -1);
             model->getvalue = table_getvalue;
-            ui_table(obj, .colspan = 3, .model = model, .list = wdata->list2);
+            ui_table(obj, .colspan = 3, .model = model, .list = wdata->list2, .onactivate = action_onactivate, .onselection = action_listselection_changed);
             ui_model_free(obj->ctx, model);
         }
     }   

mercurial