[REQ_ERR: 404] [KTrafficClient] Something is wrong. Enable debug mode to see the reason.
Tkinter button color not working
So you may want to set its activeforeground color to red: rainer-daus.de(activeforeground='red') . Jul 14, · Your button probably remains in its active state during the long calculation. from tkinter import * master = Tk() button = Button(master, text="some text". 2. This code doesn't work, but doesn't produce an error. python macos tkinter button tkinter- . Oct 7, The Mac OS X rendering system (Quartz?) may just not support (easily) changing the fg and bg of a button. import tkinter as tk import rainer-daus.de as ttk root = rainer-daus.de () style = rainer-daus.de () rainer-daus.deure ("TButton", foreground="blue", background="orange") myButton = rainer-daus.de (text="Scrape", style="TButton") rainer-daus.de () rainer-daus.deop () Share. Instead you will have to use Style option and configure it as you require. Here is an example. Here is an example. 1 Answer Sorted by: 5 The reason this is happening is because you are using rainer-daus.de instead of rainer-daus.de The options such as fg, bg are not supported by ttk. Instead you will have to use Style option and configure it as you require. This is a Python sample code snippet that we will use in this Article. Let's define this . In this Article we will go through Tkinter Button Color Doesn't Working Mac using code in Python. Note: It is recommended to use Method 1 for setting the border color of a widget as Method 2 may or may not work for some widgets.