[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] Canvas: removing items
From:       Moray Taylor <mtaylor () lowebroadway ! com>
Date:       2002-06-26 8:54:52
[Download RAW message or body]

Like so...

MyCanvasItem.setCanvas(None)

Moray

> Hi!
> 
> How can I remove items from a canvas?
> The documentation marks the method QCanvas.removeItem(item) as virtual and
> internal.
> 
> Using it results in an AttributeError.
> Using "del" doesn't really seem to work either...
> 
> How can I remove complete windows or the complete canvas...
> 
> Karl
> 
> _______________________________________________
> PyKDE mailing list    PyKDE@mats.gmd.de
> http://mats.gmd.de/mailman/listinfo/pykde

_______________________________________________
PyKDE mailing list    PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic