from tkinter import * # 增加如下导包语句即可 from tkinter.ttk import * root ... TButton').pack() # 为小控件的不同状态指定样式 style.map("new_state_style.
確定! 回上一頁