application/main.c

branch
newapi
changeset 260
eebb0626d020
parent 259
8cce275d2847
child 261
b39f0e61fd99
--- a/application/main.c	Thu Feb 15 21:04:21 2024 +0100
+++ b/application/main.c	Thu Feb 15 21:12:54 2024 +0100
@@ -71,6 +71,14 @@
     ui_togglebutton(obj, .label = "Toggle");
     ui_checkbox(obj, .label = "Checkbox");
     
+    ui_grid(obj, .fill = 1) {
+        ui_button(obj, .label = "cell1", .hexpand = TRUE);
+        ui_button(obj, .label = "cell2");
+        ui_newline(obj);
+        ui_button(obj, .label = "cell_colspan2", .colspan = 2);
+        
+    }
+    
     ui_show(obj);
 }
 

mercurial