Check page 243 of "Mastering Perl/Tk", specifically the 'Window Properties' section.
Assigning a empty sub to the WM_DELETE_WINDOW callback turns the button off - like so:
You'll need to turn off strict subs, as it doesn't like the bareword WM_DELETE_WINDOW. Although I'm sure there is a way of getting around that - I just don't know it...
In reply to Re: tk question: strick app cann't close by clicking
by BlueBlazerRegular
in thread tk question: strick app cann't close by clicking
by benlaw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |