📜  tkinter iconify() 函数在 python 代码示例中如何工作

📅  最后修改于: 2022-03-11 14:46:46.729000             🧑  作者: Mango

代码示例1
iconify() Turns the window into an icon (without destroying it). 
To redraw the window, use deiconify. 
Under Windows, the window will show up in the taskbar. 
When the window has been iconified, the state method returns “iconic”.

withdraw() Removes the window from the screen (without destroying it). 
To redraw the window, use deiconify.
When the window has been withdrawn, the state method returns “withdrawn”.