I wrote one today as well, after porting 3D Pong from OLPCGames to pure PyGTK + cairo (it's a lot slower unfortunately, either their line drawing or their text drawing needs serious optimization). I had to spend a bunch of time researching how to get smooth animation out of PyGTK, so here are my results.
http://wiki.laptop.org/go/PyGTK/Smooth_Animation_with_PyGTK On Jan 17, 2008 12:06 PM, Chris Hager <[EMAIL PROTECTED]> wrote: > 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) > > > _______________________________________________ > Devel mailing list > [email protected] > http://lists.laptop.org/listinfo/devel >
_______________________________________________ Devel mailing list [email protected] http://lists.laptop.org/listinfo/devel
