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

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to