[PyKDE] Again;-( deleting a window

Axel Mittendorf axel.mittendorf at transfertech.de
Thu Jun 3 10:23:01 BST 2004


----- Original Message ----- 
From: "Phil Thompson"
To: <pykde at mats.imk.fraunhofer.de>
Sent: Tuesday, June 01, 2004 6:04 PM
Subject: Re: [PyKDE] deleting a window


> On Tuesday 01 June 2004 3:10 pm, Axel wrote:

> > del win
> > win = SomeWin()
> > win.show()

now I do:
win.deleteLater()
win = SomeWin()
and so on.
But the app is still getting bigger when I open and close the window
multiple times.
The size of the app rises slower than before but I thought that it would not
rise at all
in the case everythink (the old window and everythink on it) was thrown away
correctly. Example: The app is started and the window is opened once, the
size is about 20900KB, now I open and close the window about 500 times (I
love my teaspoon;-),
the size is about 32000KB.
There is no difference if I do
for ch in win.children():
  ch.deleteLater()
before win.deleteLater().
What do I do wrong?

TIA,
Axel




More information about the PyQt mailing list