the qt documentation for tabwidget is almost the same so, I don't know where to look.
I don't mean how to delete pages in tab widget but rather how to delete Qt objects in PyQt in general. I'm sure there is a dedicated call there somewhere to convince the Python garbage collector it should get rid of the object.
I think that doing:
widget.close()
widget.deleteLater()
del widget
# and optionally this if U really must
import gc
gc.collect()
will do the trick
Bookmarks