[Sugar-devel] Gtk.DrawingArea's draw signal

Manuel Kaufmann humitos at gmail.com
Thu Jun 28 08:06:05 EDT 2012


On Thu, Jun 28, 2012 at 8:36 AM, Benjamin Berg <benzea at sugarlabs.org> wrote:
> def do_draw(self, cr):
>    alloc = self.get_allocation()
>    self._current_drawer.draw(cr, alloc.width, alloc.height)
>
> Nothing else is required.

Excelente! It works properly! Thanks :)

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Porfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/


More information about the Sugar-devel mailing list