summaryrefslogtreecommitdiff
path: root/new/window_unix.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-09 15:18:18 -0400
committerPietro Gagliardi <[email protected]>2015-04-09 15:18:18 -0400
commitd1461673210f8616bba6fe3a586148aa44696edd (patch)
tree88e613399af846af817dc64d30ae8d7266c4a99f /new/window_unix.c
parent7c6beec879fcea66361b677eb752477f01f65b98 (diff)
Implemented uiWindowSetMargined() on GTK+.
Diffstat (limited to 'new/window_unix.c')
-rw-r--r--new/window_unix.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/new/window_unix.c b/new/window_unix.c
index dca52e3..b778b26 100644
--- a/new/window_unix.c
+++ b/new/window_unix.c
@@ -81,3 +81,11 @@ void uiWindowSetChild(uiWindow *w, uiControl *c)
uiContainer(w->container)->child = c;
(*(c->setParent))(c, (uintptr_t) (w->container));
}
+
+// TODO margined
+
+void uiWindowSetMargined(uiWindow *w, int margined)
+{
+ uiContainer(w->container)->margined = margined;
+ updateParent((uintptr_t) (w->container));
+}