Hi all -

I've just joined this list after hacking with PyGTK for a few months ; I
hope I don't muss up this first post ! :) I'd like to give a big thanks
to all the PyGTK developers. This package totally rocks.

So, I have a question about using gnome.canvas.CanvasBpath ; I'm trying
to play around a little bit with a canvas (starting from the
canvas_example.py file), but I can't figure out how to create
CanvasBpath objects. I've tried doing the following :

  my_canvas = gnome.canvas.Canvas(aa = gtk.TRUE)
  my_canvas.root().add(gnome.canvas.CanvasBpath, bpath = x)

but everything I've tried so far for x has given me a `cannot convert x'
message. From what I've been able to see in sodipodi and libart, I need
to create a path using a path def, then a few _curveto commands ... but
those don't seem available in gnome.canvas.

I'd appreciate any pointers, particularly of the rtfm kind. I've been
banging my head on the wall/google for a bit now with no results, and
hoped you all could help out. Thanks !

leif

--
Leif Morgan Johnson : http://ambient.2y.net/leif/
_______________________________________________
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