drawing, structured graphics

Jim Gettys jg at laptop.org
Thu Mar 13 12:13:04 EDT 2008


Sayamindu,

I think Victor is asking for something at a higher level of abstraction;
particularly what goes by the name of a canvas in various toolkits.

I thought we were using goocanvas, or something like that on top of
cairo for TK canvas equivalent functionality...

Marco?
                                 - Jim

On Mon, 2008-03-10 at 20:08 +0530, Sayamindu Dasgupta wrote:
> On Mon, Mar 10, 2008 at 7:39 PM, Victor Lazzarini
> <Victor.Lazzarini at nuim.ie> wrote:
> > Hi all,
> >
> >  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)?
> >
> 
> I guess PyCairo would be the best :-)
> 
> 
> >  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?
> 
> <shameless plug>
> http://pymag.phparch.com/c/issue/view/60
> </shameless plug>
> 
> Last time I checked - the code was working. You'll have to register to
> download the issue (it should be a free download).
> 
> Thanks,
> Sayamindu
> 
-- 
Jim Gettys
One Laptop Per Child





More information about the Devel mailing list