[PyKDE] How do I delete a QCanvasItem?

Stephen Green estebanverde at hotmail.com
Mon Jun 10 21:30:00 BST 2002


I've been trying to figure out how to delete a QCanvasItem from a QCanvas.  
I tried using del, QCanvas.removeChild() and removing all references to it.  
None of this works though.  I think removeChild() doesn't work because it 
takes a QObject as input, but QCanvasItem does not inherit QObject.  Does 
anybody know how to do this?

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx




More information about the PyQt mailing list