I am very new to using python
and tkinter
in general, but I was hoping to get some guidance on how to handle toplevel
pop up exits. I have wrote a pop up that once would disable a button
in the root
level unless all the checkboxes in the pop up window are checked, and the close button
is clicked.
However, I was wondering if there was a way to handle users "X-ing out" (closing via clicking the x icon top right corner of pop ups) instead of closing the pop via the button
I made. (The button
has the command .destroy()
and handles toggling the status of the button
on root
level).