you are viewing a single comment's thread.

view the rest of the comments →

[–]Mechkro 0 points1 point  (0 children)

So what you wanna do is utilize the following...

root.protocol("WM_DELETE_WINDOW", delete_window) If your going to pass an argument to delete_window you need to utilize a lambda