# HG changeset patch
# User Olaf Wintermann <olaf.wintermann@gmail.com>
# Date 1742844339 -3600
# Node ID b825721fd6c73a0a09483028714c8bafcb3a3f38
# Parent  7f380a3ac9a1f8373b12c7a320dd0ca948a1c64f
add more _w container macros

diff -r 7f380a3ac9a1 -r b825721fd6c7 ui/ui/container.h
--- a/ui/ui/container.h	Mon Mar 24 18:59:52 2025 +0100
+++ b/ui/ui/container.h	Mon Mar 24 20:25:39 2025 +0100
@@ -255,6 +255,9 @@
 #define ui_headerbar0(obj) for(ui_headerbar_create(obj, (UiHeaderbarArgs){ 0 });ui_container_finish(obj);ui_container_begin_close(obj))
 #define ui_sidebar0(obj) for(ui_sidebar_create(obj, (UiSidebarArgs){ 0 });ui_container_finish(obj);ui_container_begin_close(obj))
 
+#define ui_vbox_w(obj, w, ...) for(w = ui_vbox_create(obj, (UiContainerArgs){ __VA_ARGS__ });ui_container_finish(obj);ui_container_begin_close(obj))
+#define ui_hbox_w(obj, w, ...) for(w = ui_hbox_create(obj, (UiContainerArgs){ __VA_ARGS__ });ui_container_finish(obj);ui_container_begin_close(obj))
+#define ui_grid_w(obj, w, ...) for(w = ui_grid_create(obj, (UiContainerArgs){ __VA_ARGS__ });ui_container_finish(obj);ui_container_begin_close(obj))
 #define ui_tabview_w(obj, w, ...) for(w = ui_tabview_create(obj, (UiTabViewArgs){ __VA_ARGS__ });ui_container_finish(obj);ui_container_begin_close(obj))
 
 #define ui_hsplitpane(obj, ...) for(ui_hsplitpane_create(obj, (UiSplitPaneArgs){ __VA_ARGS__ });ui_container_finish(obj);ui_container_begin_close(obj))