Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Is there a protocol to catch when the user maximize the main window? I use the following to catch when the user closes the application, but I can't find any counterpart to catch the maximization (or minimization) of the main window:
$mw->protocol('WM_DELETE_WINDOW', \&CloseApp);
Thank you in advance for any suggestion.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tk main window protocole maximize
by tybalt89 (Monsignor) on Apr 24, 2018 at 19:52 UTC | |
|
Re: Tk main window protocole maximize
by choroba (Cardinal) on Apr 24, 2018 at 19:16 UTC | |
|
Re: Tk main window protocole maximize
by zentara (Cardinal) on Apr 25, 2018 at 12:00 UTC |