With this code fragment, I would expect the label to have a background color red. def createWidgets(self):
style = ttk.Style()
style.configure("Red.TLabel", foreground="green", background="red")
self.label1 = ttk.Label(textvariable=self.numberArray[0][0],style="Red.TLabel")
self.label1.pack()
I get the green foreground color but I can't change the background color. This is on OS X. I'm using ActiveState's tcl and python. The same problem occurs with Python 3.2 and 2.7