I'm wondering, is it possible to catch exiting Perl/Tk program when the user pushes "Exit" button on the top-right corner?
I have provided the Menu feature "File->Exit" which performs all necessary saving procedures but nothing prevents the user from (casual) pushing "Exit" button on the top-right corner, and in this case results of the user's work may be incorrect/lost.
If not possible - may be, is there any way to toggle "Exit" button from the top-right corner of the Perl/Tk MainWindow?
All questions - about WinXP.
In reply to How to catch pushing the window "Exit" button in Perl/Tk? by Shumkar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |