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

List:       pykde
Subject:    Re: [PyQt] Is deleteLater() necessary in PyQt/PySide?
From:       David Boddie <davidb () met ! no>
Date:       2013-11-25 10:48:02
Message-ID: 12637224.353335.1385376482761.JavaMail.root () imap1b
[Download RAW message or body]

On Sun Nov 24 03:22:03 GMT 2013, iMath wrote:

> Since there is already a Garbage Collector in Python, is deleteLater() necessary in PyQt/PySide?

Yes, because Python does not own all the objects used by Qt, so an object
may go out of scope in Python, but you still want to tell Qt to delete it
when it is no longer needed.

Take a look at the PyQt examples to see the situations where it is used.

David
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

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