开发者

Python Tool Windows

TL.attributes('-toolwindow', True)

I'm making a GUI in Tkinter th开发者_Go百科at uses a tool window, is there anyway to make this window show up in the task bar?


On most systems, you can temporarily remove the window from the screen by iconifying it. In Tk, whether or not a window is iconified is referred to as the window's state. The possible states for a window include "normal" and "iconic" (for an iconified window). There are some others too.

thestate = window.state()
window.state('normal')
window.iconify()
window.deiconify()

Docs at : http://effbot.org/tkinterbook/wm.htm should be of some help.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜