[Grassroots-l] New PyGTK Tutorials

Chris Hager chris at linuxuser.at
Thu Jan 17 15:06:59 EST 2008


Hey all.

Jaume and I just had a pizza-and-beer coding session, and the outcome 
were two tutorials for creating Activities with PyGTK, one of them using 
Glade.

=> http://wiki.laptop.org/go/PyGTK/Hello_World_Tutorial

We're using activity.py as a wrapper, which loads the code and GTK 
interface from gtktest.py. This way,
- very little code is required to get a PyGTK Activity running in Sugar 
(6 lines in gtktest.py)
- PyGTK Activities can run as standalone versions on any linux system by 
default

Example Bundles:
- http://wiki.laptop.org/images/b/ba/Gtktest.xo
- http://wiki.laptop.org/images/0/02/Gtktest-glade.xo

Please feel free to extend the page; and add comments to [[Talk:]] or 
the mailing list.

- Chris & Jaume
  (OLPC Austria)




More information about the Grassroots mailing list