我无法使用 fg 和 bg 更改按钮的颜色。我收到此错误:_tkinter.TclError: unknown option "-fg"
_scrape_btn = ttk.Button(_mainframe, text='Scrape!', command=save, fg='blue')
_scrape_btn.grid(row=2, column=0, sticky=(N,E), pady=2)
_compress_btn = ttk.Button(_mainframe, text='Compress!', command=compress)
_compress_btn.grid(row=2, column=1, sticky=W, pady=2)
Run Code Online (Sandbox Code Playgroud)