[sugar] Activity bundle tutorial

Marco Pesenti Gritti mpg
Fri Feb 9 04:20:22 EST 2007


On Thu, 2007-02-08 at 22:55 -0300, Gonzalo Delgado wrote:
> 2007/2/8, Marco Pesenti Gritti <mpg at redhat.com>:
> >
> > It's probably easier if you send me your activity code :)
> >
> > Marco
> >
> >
> 
> Here it goes!
> 

The problem is that you are creating a toplevel window. Activity is a
gtk.Window and you should be packing stuff into it (a gtk.HBox for
example) using the .add method. I think you can do that with glade, you
just need to get the Box widget rather than the toplevel one (and make
sure the toplevel visible property is False).

Marco



More information about the Sugar-devel mailing list