drawing, structured graphics

C. Scott Ananian cscott at laptop.org
Mon Mar 10 14:43:08 EDT 2008


On Mon, Mar 10, 2008 at 10:09 AM, Victor Lazzarini
<Victor.Lazzarini at nuim.ie> wrote:
>  what would be the best bet for going about implementing
>  structured graphics a-la Tkinter's canvas class in XO
>  activities? Would it be PyCairo? or PyGTK (gtk/gdk)?
>
>  also could anyone point to a PyGTK custom widget
>  tutorial somewhere? I had a look at one in
>  http://www.learningpython.com/2006/07/25/writing-a-custom-widget-using-pygtk/
>
>  but the code wouldn't work. Are there others?

goocanvas is another option; it's what I used for my icon-editor activity.

Attached is the goocanvas 'hello, world' activity using goocanvas'
python bindings.
 --scott

-- 
                         ( http://cscott.net/ )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gootest.py
Type: text/x-python
Size: 1814 bytes
Desc: not available
URL: <http://lists.laptop.org/pipermail/devel/attachments/20080310/66cf0db1/attachment.py>


More information about the Devel mailing list