application/main.c

changeset 73
473acef47ddd
parent 72
a00b46d92c54
child 74
55718d4ed227
--- a/application/main.c	Mon Jan 12 12:03:05 2015 +0100
+++ b/application/main.c	Wed Jan 21 16:02:30 2015 +0100
@@ -134,6 +134,14 @@
     ui_list_append(list, p4);
     
     ui_listview(window, list, (ui_model_getvalue_f)person_getvalue, action_activate, NULL);
+    ui_contextmenu(window);
+    ui_widget_menuitem(window, "OK", action_test, NULL);
+    ui_widget_menuitem(window, "1", action_test, NULL);
+    ui_widget_menuitem(window, "2", action_test, NULL);
+    ui_widget_menuitem(window, "3", action_test, NULL);
+    ui_widget_menuitem(window, "4", action_test, NULL);
+    ui_widget_menuitem_st(window, UI_STOCK_CLOSE, action_test, NULL);
+    
     
     ui_show(window);
     ui_main();

mercurial