--- a/application/main.c Mon Jan 25 16:36:31 2016 +0100 +++ b/application/main.c Tue Jan 26 19:45:28 2016 +0100 @@ -124,6 +124,7 @@ UiObject *obj = ui_window("Test", NULL); ui_context_closefunc(obj->ctx, window_close, NULL); +/* UIWIDGET w = ui_drawingarea(obj, draw, NULL); ctxmenu = ui_contextmenu_w(obj, w); ui_widget_menuitem(obj, "Test1", NULL, NULL); @@ -131,13 +132,23 @@ ui_widget_menuitem(obj, "Test3", NULL, NULL); ui_widget_menuitem(obj, "Test4", NULL, NULL); ui_drawingarea_mousehandler(obj, w, click, NULL); +*/ -/* - ui_vbox_sp(obj, 8, 4); +///* + ui_vbox_sp(obj, 8, 4); + + UiList *list = ui_list_new(); + ui_list_append(list, "Hello"); + ui_list_append(list, "World"); + ui_list_append(list, "Test"); + + ui_combobox_str(obj, list, NULL, NULL); + ui_button(obj, "Button", NULL, NULL); ui_button(obj, "Button", NULL, NULL); ui_button(obj, "Button", NULL, NULL); ui_button(obj, "Button", NULL, NULL); + ui_end(obj); //*/