from tkinter import * # 增加如下导包语句即可 from tkinter.ttk import * root = Tk() ... Button(root, text='我使用danger样式', style='danger.
確定! 回上一頁