使用部件的 winfo_class() 方法,返回部件类别名称,再以物件 ttk. ... s = ttk.Style() s.configure('Kim.TButton', foreground='maroon') # 同时也建立了新样式 ...
確定! 回上一頁