]> Pileus Git - ~andy/gtk/commit
Add invariant that a child is unmapped if parent is unmapped
authorHavoc Pennington <hp@pobox.com>
Mon, 20 Dec 2010 17:58:04 +0000 (12:58 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 20 Dec 2010 17:58:04 +0000 (12:58 -0500)
commitb67c5af55bf611c013b2c43e6878281abd773530
treedec05bdf7844b7f6d1bdc5fbacc3fb5094f3db15
parent23ce44c9fecefb9c243c09709c8c1decfd1eb530
Add invariant that a child is unmapped if parent is unmapped

Requires fixes to GtkContainer and GtkWindow to unmap their
children, rather than just withdrawing or hiding the container
window.

Requires fix to GtkHandleBox to chain up to GtkContainer unmap.

Historically we avoided these unmaps for efficiency reasons,
but these days it's a bigger problem that there's no way
for child widgets to know that one of their ancestors has
become unmapped.
docs/widget_system.txt
gtk/gtkcontainer.c
gtk/gtkhandlebox.c
gtk/gtkwidget.c
gtk/gtkwindow.c