Tk:WM $toplevel->protocol
listmail <[email protected]>
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <[email protected]> |
The following works well for making the Windows WM Close button result
in a sub call instead of killing a Tk application:
(example) $mw->protocol('WM_DELETE_WINDOW', sub{ $mw->withdraw; });
My question is can I do the same for the MINIMIZE button? I can't seem
to find a protocol name that works. Does one exist or can I acheive
this another way?