[PyKDE] How do I delete a QCanvasItem?

Boudewijn Rempt boud at valdyas.org
Tue Jun 11 12:07:00 BST 2002


On Tue, 11 Jun 2002, Moray Taylor wrote:

> I think I have figured out how to do it.
>
> MyCanvasItem.setCanvas(None)
>
> It gets rid of it, and seems to free any memory it was using.
>
> Any comments?
>

Clever!




More information about the PyQt mailing list