How to use the "native" GUI look with Tkinter?
By default Tkinter still uses the old Windows 2000-style widgets (random example):
but I want it to use the Windows XP/Vista/7-style widgets instead:
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.
精彩评论