Hi, looking at the libgnomecanvas wrapper code I get the impression that it's currently not possible to create custom canvas items by subclassing the existing ones in python. Is that correct?
I was trying to set up a simple composite item as a subclass of CanvasGroup (see attachment). Obviously this does not work because my class never gets instantiated (MyCanvasItem.__init__ never gets called). Maybe I'm missing something. But IMHO this is unsatisfying (similar to subclassing GObjects). Any comments? Jan
canvas.py
Description: Binary data
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
