New PyGTK Tutorials
Wade Brainerd
wadetb at gmail.com
Thu Jan 17 19:51:03 EST 2008
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 <chris at linuxuser.at> 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
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20080117/2f0693f4/attachment.html>
More information about the Devel
mailing list