make/vs/testapp/main.c

branch
newapi
changeset 193
74c688cc1839
parent 192
bcacd00ea955
child 194
e2281ace0769
equal deleted inserted replaced
192:bcacd00ea955 193:74c688cc1839
104 ui_switch(obj, .label = "test", .onchange=action_switch); 104 ui_switch(obj, .label = "test", .onchange=action_switch);
105 ui_newline(obj); 105 ui_newline(obj);
106 106
107 ui_textfield(obj, .value = wdata->text); 107 ui_textfield(obj, .value = wdata->text);
108 ui_passwordfield(obj, .value = wdata->password); 108 ui_passwordfield(obj, .value = wdata->password);
109 ui_newline(obj);
110
111 ui_frame(obj, .label = "Test", .colspan = 3, .vexpand = true) {
112 ui_button(obj, .label = "Button1", .onclick = action1, .onclickdata = "action1");
113 }
109 } 114 }
110 115
111 ui_show(obj); 116 ui_show(obj);
112 } 117 }
113 118

mercurial