iconify/deiconify catches in Tkinter

v.wehren v.wehren at home.nl
Wed Jan 8 14:26:57 EST 2003


"Dave Martens" <davemartens at yahoo.com> schrieb im Newsbeitrag
news:mailman.1042010114.13709.python-list at python.org...
> Hi,
>
>   As Tkinter people know, the destroy window
> button (X) on a window can be caught, but I
> cannot find any way to catch the other two
> buttons (iconify and maximize).

Taking a glance at the Tkinter modules would suggest that the protocol
method  is pretty open. So,
one would expect something like: w.protocol("WM_ICONIFY_WINDOW", callback)
wouldn't one?
Alas, doesn't seem to work...(at least not on win32)

- Vincent Wehren

>
> If you ask "why would I want to do that?",
> I probably can't give a rigorous answer so
> suffice to say that I want to do it.
>
> Any advice on how?
>
> I have looked at the documentation I found
> and searched the email archive.
>
> thanks
> Dave
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>






More information about the Python-list mailing list