2007/11/12, Donn <[EMAIL PROTECTED]>:

Hi Donn,

> Well, the reason I asked in this list was to garner suggestions based on
> PyGTK. So far the canvases I've looked at are in C. But I'll take your hint
> and do it myself, restricting questions on the list to specific code.

You are right, I'm not aware of any canvas written in PyGTK itself, I
meant to look at the C code and translate it to Python,

I'm afraid it won't be that easy, I don't know how the signal emission
on items work on gnomecanvas, but I suspect it works the same as
goocanvas, you will have to implement your own custom signal handlers
on the drawing area, checking if you enter in your custom items and do
something accordingly.

Have a look at goocanvas.c (function goo_canvas_crossing) and
goocanvasitem.[ch] for the signals.

cheers
-- 
Gian Mario Tagliaretti
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to