tk/wm state

(tk/wm 'state #<widget> ?newstate?)
If newstate is specified, the window will be set to the new state, otherwise it returns the current state of #<widget>: either normal, iconic, withdrawn, icon, or (Windows only) zoomed. The difference between iconic and icon is that iconic refers to a window that has been iconified (e.g., with the tk/wm iconify command) while icon refers to a window whose only purpose is to serve as the icon for some other window (via the tk/wm iconwindow command). The icon state cannot be set.

© Author | Home | Sitemap