--- a/application/main.c Wed Jan 27 12:52:39 2016 +0100 +++ b/application/main.c Wed Jan 27 20:55:37 2016 +0100 @@ -141,24 +141,27 @@ ui_context_closefunc(obj->ctx, window_close, NULL); ///* - ui_hbox(obj); + ui_scrolledwindow(obj); -//* ui_vbox(obj); - drawingarea = ui_drawingarea(obj, draw, NULL); - ctxmenu = ui_contextmenu_w(obj, drawingarea); - ui_widget_menuitem(obj, "Test1", NULL, NULL); - ui_widget_menuitem(obj, "Test2", NULL, NULL); - ui_widget_menuitem(obj, "Test3", NULL, NULL); - ui_widget_menuitem(obj, "Test4", NULL, NULL); - ui_drawingarea_mousehandler(obj, drawingarea, click, NULL); + ui_button(obj, "Test", NULL, NULL); + ui_button(obj, "Test", NULL, NULL); + ui_button(obj, "Test", NULL, NULL); + ui_button(obj, "Test", NULL, NULL); + ui_button(obj, "Test", NULL, NULL); + ui_button(obj, "Test", NULL, NULL); + ui_button(obj, "Test", NULL, NULL); + ui_button(obj, "Test", NULL, NULL); + ui_button(obj, "Test", NULL, NULL); + ui_button(obj, "Test", NULL, NULL); + ui_button(obj, "Test", NULL, NULL); + ui_button(obj, "Test", NULL, NULL); + ui_button(obj, "Test", NULL, NULL); + ui_button(obj, "Test", NULL, NULL); + ui_button(obj, "Test", NULL, NULL); + ui_button(obj, "Test", NULL, NULL); + ui_end(obj); -//*/ - - ui_vscrollbar(obj, &range, action_scroll, NULL); - range.setrange(&range, 0, 100); - range.setextent(&range, 20); - range.set(&range, 0); ui_end(obj); //*/