开发者

How to use the "native" GUI look with Tkinter?

By default Tkinter still uses the old Windows 2000-style widgets (random example):

How to use the "native" GUI look with Tkinter?

but I want it to use the Windows XP/Vista/7-style widgets instead:

How to use the "native" GUI look with Tkinter?

How can I do this? I would prefer to use the latest style version, so开发者_C百科 Windows 7 > Vista > XP > 2000.


On Windows, use tkinter.ttk to get the the themed version of Tk.


The ttk themed widgets are what you are looking for. Be sure to use the 'vista' theme to get native appearance on Vista/Win7.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜