[sugar] QUestion about HippoCanvas

Marco Pesenti Gritti mpg at redhat.com
Tue Mar 20 11:18:53 EDT 2007


On Tue, 2007-03-20 at 11:25 -0300, Gonzalo Odiard wrote:
> Hello:
> I don't know if there are a better place for  this question.
> I am trying to port a simple application from PyCairo to HippoCanvas,
> i can create the objects and add to a Box, but i can't show them.
> I have tried with do_paint_background and another methods, but without
> success. 
> Anybody can help me?
> Thanks

You probably want:

do_paint_below_children

Also make sure to pack the item as expanded, otherwise it will be 0
size.

vbox.append(pieza, hippo.PACK_EXPAND)

Marco



More information about the Sugar mailing list