[Sugar-devel] [PATCH] Remove hippo from the frame

Sascha Silbe sascha-ml-reply-to-2011-3 at silbe.org
Mon Sep 26 13:31:23 EDT 2011

Excerpts from Daniel Drake's message of 2011-09-18 14:47:09 +0200:

> Based on earlier work by Raul Gutierrez and Walter Bender.

Thanks for the patch!

[class FrameContainer]
> +    def do_realize(self):
> +        self.set_flags(gtk.REALIZED)
> +
> +        self.window = gdk.Window(
> +            self.get_parent_window(),

Why do we need additional windows? AIUI we already have one
SugarFrameWindow for each edge (which is probably what
self.get_parent_window() returns). Shouldn't adding the container (or
maybe HBoxes and VBoxes if gtk.Container is too generic) to
SugarFrameWindow suffice?

Feel free to point me to GTK documentation if it's already explained
somewhere - I couldn't figure it out myself.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110926/1417838e/attachment.pgp>

More information about the Sugar-devel mailing list