[PyKDE] deleting a window
    Phil Thompson 
    phil at riverbankcomputing.co.uk
       
    Tue Jun  1 18:05:01 BST 2004
    
    
  
On Tuesday 01 June 2004 3:10 pm, Axel Mittendorf wrote:
> Hi, I have a PyQT (3.8.1) app and I want to reinstantiate a window.
> I tried it like this:
>
> del win
> win = SomeWin()
> win.show()
>
> A new instance is always created but the old is never deleted
> (I tried win.erase() and win.destroy() too).
> Can someone show me how to delete such a QWidget instance?
See the FAQ on deleting children of QObjects.
Phil
    
    
More information about the PyQt
mailing list