in reply to tk question: strick app cann't close by clicking
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...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: tk question: strick app cann't close by clicking
by benlaw (Scribe) on Apr 25, 2002 at 03:15 UTC | |
|
(ichi) Re x 2: tk question: strick app cann't close by clicking
by ichimunki (Priest) on Apr 25, 2002 at 18:38 UTC | |
by BlueBlazerRegular (Friar) on Apr 26, 2002 at 15:26 UTC |