application/demo_bindings.c

changeset 886
6f5e02fcb7b9
parent 882
75de79b155e3
child 907
d54a72c94320
equal deleted inserted replaced
885:28ecfe5399ae 886:6f5e02fcb7b9
102 102
103 ui_combobox(obj, .varname = "doclist", .colspan = 2, .onactivate = switch_document, .getvalue = doclist_get_value, .colspan = 2, .hfill = TRUE); 103 ui_combobox(obj, .varname = "doclist", .colspan = 2, .onactivate = switch_document, .getvalue = doclist_get_value, .colspan = 2, .hfill = TRUE);
104 ui_newline(obj); 104 ui_newline(obj);
105 105
106 ui_frame(obj, .label = "Document", .colspan = 2, .fill = TRUE) { 106 ui_frame(obj, .label = "Document", .colspan = 2, .fill = TRUE) {
107 ui_grid(obj, .margin = 10, .columnspacing = 10, .rowspacing = 10) { 107 ui_grid(obj, .margin = 10, .columnspacing = 10, .rowspacing = 10, .fill = TRUE) {
108 ui_rlabel(obj, .label = "Name:", .vfill = TRUE); 108 ui_rlabel(obj, .label = "Name:", .vfill = TRUE);
109 ui_textfield(obj, .varname = "input_name", .onchange = update_name); 109 ui_textfield(obj, .varname = "input_name", .onchange = update_name);
110 } 110 }
111 } 111 }
112 } 112 }

mercurial