I have a window and I want to have a close event for that window. How to detect the closeing of the dialog (menu.py) in the main class.
main.py
class Q