make/vs/testapp/main.c

branch
newapi
changeset 198
f2332d0d3318
parent 197
8a82ebe23822
child 202
9f309d1914a2
--- a/make/vs/testapp/main.c	Mon Oct 02 19:56:18 2023 +0200
+++ b/make/vs/testapp/main.c	Tue Oct 03 12:36:57 2023 +0200
@@ -136,10 +136,12 @@
             ui_passwordfield(obj, .value = wdata->password);
             ui_newline(obj);
 
+            /*
             ui_frame(obj, .label = "Test", .colspan = 3) {
                 ui_button(obj, .label = "Button1", .onclick = action1, .onclickdata = "action1");
             }
             ui_newline(obj);
+            */
 
             /*
             ui_expander(obj, .label = "Expand", .colspan = 3, .margin = 10, .spacing = 5, .isexpanded = false) {
@@ -150,6 +152,16 @@
             */
 
             ui_combobox(obj, .list = wdata->list, .onselection= action_listselection_changed, .onactivate= action_onactivate);
+            ui_newline(obj);
+
+            ui_tabview(obj, .colspan = 3, .vexpand = true, .hexpand = true) {
+                ui_tab(obj, "Tab 1") {
+                    ui_button(obj, .label = "Tab 1 Button");
+                }
+                ui_tab(obj, "Tab 2") {
+                    ui_button(obj, .label = "Tab 2 Button");
+                }
+            }
         }
     }   
 

mercurial