Dear kind monks,
If I create an Exit button, I can callback a DialogBox for an exit confirmation easily . However, how do we ask Perl Tk to call the DialogBox if the users choose to exit by either:
- clicking the "x" in the top right corner of the window?
- Or going to File->Close.