Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为什么我的python 程序没有默认的windows 7/8/xp 按钮,而是有枯燥的windows 2000 按钮?我怎样才能解决这个问题?
我沉闷的按钮程序
我的期望:
使用该ttk模块获得这些效果:
ttk
import Tkinter import ttk root = Tkinter.Tk() ttk.Button(text="Hello").grid() root.mainloop()
例子: