summaryrefslogtreecommitdiff
path: root/gtk/parent
diff options
context:
space:
mode:
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 000000000..94fee6123
--- /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) &&