application/main.c

changeset 73
473acef47ddd
parent 72
a00b46d92c54
child 74
55718d4ed227
equal deleted inserted replaced
72:a00b46d92c54 73:473acef47ddd
132 ui_list_append(list, p2); 132 ui_list_append(list, p2);
133 ui_list_append(list, p3); 133 ui_list_append(list, p3);
134 ui_list_append(list, p4); 134 ui_list_append(list, p4);
135 135
136 ui_listview(window, list, (ui_model_getvalue_f)person_getvalue, action_activate, NULL); 136 ui_listview(window, list, (ui_model_getvalue_f)person_getvalue, action_activate, NULL);
137 ui_contextmenu(window);
138 ui_widget_menuitem(window, "OK", action_test, NULL);
139 ui_widget_menuitem(window, "1", action_test, NULL);
140 ui_widget_menuitem(window, "2", action_test, NULL);
141 ui_widget_menuitem(window, "3", action_test, NULL);
142 ui_widget_menuitem(window, "4", action_test, NULL);
143 ui_widget_menuitem_st(window, UI_STOCK_CLOSE, action_test, NULL);
144
137 145
138 ui_show(window); 146 ui_show(window);
139 ui_main(); 147 ui_main();
140 148
141 return (EXIT_SUCCESS); 149 return (EXIT_SUCCESS);

mercurial