in reply to Re: How to catch pushing the window "Exit" button in Perl/Tk?
in thread How to catch pushing the window "Exit" button in Perl/Tk?
>I'm not sure if this works on Windows, but on Linux, this disables or intercepts the window manager's close button.
>$mw->protocol('WM_DELETE_WINDOW' => sub {
|
|---|