On Fri, 2003-01-17 at 15:34, Omar Kilani wrote:
> Hello,
> 
> I was wondering if anyone knew of any charting/graphing code that worked
> with PyGTK 2 (utilising DrawingArea perhaps?)

  I have done graphics for the gnumexp program (http://numexp.sf.net).
However, it does not use gdk directly, but instead uses a module (in the
same source tree) called nxplot, that uses libart_lgpl and freetype. If
you find that module any useful, I can split it from gnumexp if you
want.

  I was trying to make a quick example of drawing with pygtk2, but
instead I think I discovered a problem. When handling expose events, the
handler receives a gtk.gdk.Event object, instead of gtk.gdk.EventExpose.

  James, Johan: is this a known bug? Or is it a TODO item? This needs to
be fixed. GdkEvent needs to be subclassed to GdkEventExpose where
appropriate, right? I'm willing to try to fix this someday, if you want.

-- 
Gustavo Jo�o Alves Marques Carneiro
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]>


_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to