On Thu, Jun 28, 2012 at 5:23 AM, Benjamin Berg <ben...@sugarlabs.org> wrote: > It looks to me like the change could be that you are now connecting to > the "draw" signal, instead of overriding "do_draw(self, cr)". Though I > can't think of a reason for do_draw() not to work currently.
I feel more comfortable by connecting to the signal. I'm not sure why it was overrided before; it's the first time that I've seen this and I'm trying to understand why "override" > ie.: > Â clipped, rect = Gdk.cairo_get_clip_rectangle(cr) > > clipped will always be True in GTK+. rect then contains the affected > area, similar to event.area before. So, I should ask for the affected rect and use it to re-draw just the affected part as it was by now using this chunk of code that you mentioned here. Am I right? FYI I wrote a wiki page explaining what I did: * http://wiki.sugarlabs.org/go/User:Humitos/PortingImplode -- Kaufmann Manuel Blog: http://humitos.wordpress.com/ Porfolio: http://fotos.mkaufmann.com.ar/ PyAr: http://www.python.com.ar/ _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel