ui/motif/container.h

branch
newapi
changeset 407
8ea123dd89db
parent 406
0ebf9d7b23e8
--- a/ui/motif/container.h	Wed Dec 04 18:31:22 2024 +0100
+++ b/ui/motif/container.h	Wed Dec 04 20:36:16 2024 +0100
@@ -93,8 +93,8 @@
 
 typedef struct UiGridContainer {
     UiContainerPrivate container;
-    int x;
-    int y;
+    Dimension x;
+    Dimension y;
 } UiGridContainer;
 
 UiContainerX* ui_box_container(UiObject *obj, Widget grid, UiBoxOrientation orientation);
@@ -102,6 +102,11 @@
 Widget ui_hbox_prepare(UiContainerPrivate *ctn, Arg *args, int *n);
 void ui_box_container_add(UiContainerPrivate *ctn, Widget widget);
 
+
+UiContainerX* ui_grid_container(UiObject *obj, Widget grid);
+Widget ui_grid_container_prepare(UiContainerPrivate *ctn, Arg *args, int *n);
+void ui_grid_container_add(UiContainerPrivate *ctn, Widget widget);
+
 #ifdef	__cplusplus
 }
 #endif

mercurial