[pygtk] Deriving new classes from CanvasItem or CanvasGroup
Suresh Jeevanandam
jm.suresh at gmail.com
Thu Nov 30 19:54:47 WST 2006
Hi,
Is it possible to derive new classes from the CanvasItem or CanvasGroup
classes. I tried doing :
class MyNewItem(gnomecanvas.CanvasGroup):
def __init__(self):
# I add a number of items to self
But this does not work when I try to add this custom item into the canvas.
Is there any other way I should follow?
thanks.
--
Suresh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20061130/31961343/at=
tachment.htm
More information about the pygtk
mailing list