summaryrefslogtreecommitdiff
path: root/gtk/parent
diff options
context:
space:
mode:
authorElliot Lee <sopwith@src.gnome.org>1997-11-24 22:37:52 +0000
committerElliot Lee <sopwith@src.gnome.org>1997-11-24 22:37:52 +0000
commit9508b76bd2401b6b9e289b5c8ec9fc0e08909283 (patch)
tree53c88a9e5ac09e1a027e56df33bdaa66d670901b /gtk/parent
downloadgtk+-9508b76bd2401b6b9e289b5c8ec9fc0e08909283.tar.gz
Initial revision
Diffstat (limited to 'gtk/parent')
-rw-r--r--gtk/parent10
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk/parent b/gtk/parent
new file mode 100644
index 0000000000..94fee61231
--- /dev/null
+++ b/gtk/parent
@@ -0,0 +1,10 @@
+ gdk_window_show (widget->window);
+ gdk_window_clear_area (widget->window,
+ widget->allocation.x,
+ widget->allocation.y,
+ widget->allocation.width,
+ widget->allocation.height);
+ gdk_window_hide (widget->window);
+ if (GTK_WIDGET_VISIBLE (widget->parent))
+ if (GTK_WIDGET_REALIZED (widget->parent) &&
+ if (GTK_WIDGET_MAPPED (widget->parent) &&