application/main.c

changeset 117
38c53b8a6139
parent 116
480354705c2f
child 118
bb21210e9cac
equal deleted inserted replaced
116:480354705c2f 117:38c53b8a6139
133 ui_widget_menuitem(obj, "Test4", NULL, NULL); 133 ui_widget_menuitem(obj, "Test4", NULL, NULL);
134 ui_drawingarea_mousehandler(obj, w, click, NULL); 134 ui_drawingarea_mousehandler(obj, w, click, NULL);
135 */ 135 */
136 136
137 ///* 137 ///*
138 ui_vbox_sp(obj, 8, 4); 138 ui_vbox_sp(obj, 0, 0);
139 139
140 UiList *list = ui_list_new(); 140 UiList *list = ui_list_new();
141 ui_list_append(list, "Hello"); 141 ui_list_append(list, "Hello");
142 ui_list_append(list, "World"); 142 ui_list_append(list, "World");
143 ui_list_append(list, "Test"); 143 ui_list_append(list, "Test");
144 144
145 ui_button(obj, "Button", NULL, NULL);
146 ui_layout_fill(obj, FALSE);
147 ui_hbox(obj);
145 ui_combobox_str(obj, list, NULL, NULL); 148 ui_combobox_str(obj, list, NULL, NULL);
146 149 ui_end(obj);
147 ui_button(obj, "Button", NULL, NULL); 150 ui_button(obj, "Button", NULL, NULL);
148 ui_button(obj, "Button", NULL, NULL); 151 //ui_button(obj, "Button", NULL, NULL);
149 ui_button(obj, "Button", NULL, NULL); 152 //ui_button(obj, "Button", NULL, NULL);
150 ui_button(obj, "Button", NULL, NULL); 153 //ui_button(obj, "Button", NULL, NULL);
154 //ui_button(obj, "Button", NULL, NULL);
151 155
152 ui_end(obj); 156 ui_end(obj);
153 //*/ 157 //*/
154 158
155 ui_show(obj); 159 ui_show(obj);

mercurial