[PyKDE] Properly deleting objects from a QWidgetStack
Jacob M. Burbach
stolenID at cfl.rr.com
Sat Jul 26 21:24:01 BST 2003
What is the proper way to remove and destroy an object from a QWidgetStack?
I tried:
object = widgetStack.widget( objectId )
widgetStack.removeWidget( object )
del object
However it doesn't seem to call the destructor of that object, causing a
memory leak. What is the proper way to do this to make sure the object really
gets destroyed?
More information about the PyQt
mailing list