application/main.c

branch
newapi
changeset 301
f9e7c57e1e2f
parent 299
48763a9d19a7
child 304
d554b2a60105
--- a/application/main.c	Tue Sep 17 22:07:57 2024 +0200
+++ b/application/main.c	Wed Sep 18 22:54:50 2024 +0200
@@ -110,7 +110,7 @@
     
     ui_button(obj, .label = "Test Button", .icon = "application-x-generic", .onclick = action_button);
     ui_togglebutton(obj, .label = "Toggle");
-    ui_checkbox(obj, .label = "Checkbox");
+    ui_checkbox(obj, .label = "My Checkbox");
     
     ui_grid(obj, .fill = 1, .columnspacing = 15, .rowspacing = 15, .margin = 15) {
         ui_button(obj, .label = "cell1", .hexpand = TRUE);
@@ -142,13 +142,11 @@
         ui_combobox(obj, .hexpand = true, .vexpand = false, .colspan = 2, .varname = "list", .getvalue = list_getvalue);
         ui_newline(obj);
         
-        /*
         ui_hbox0(obj) {
             ui_radiobutton(obj, .label = "Radio 1", .varname = "radio");
             ui_radiobutton(obj, .label = "Radio 2", .varname = "radio");
             ui_radiobutton(obj, .label = "Radio 3", .varname = "radio");
         }
-        */
     }
     
     ui_show(obj);

mercurial