Which method can I override for cleanup task when a Tkinter.Tk window in Python?
- by apalopohapa
Hello. I created:
class MainGUI(Tkinter.Tk):
# some overrides
# MAIN
gui = MainGUI(None)
gui.mainloop()
But I need to do some cleanup when the window is closed by the user. Which method in Tkinter.Tk can I override?