This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients cmaceachern, ned.deily, ronaldoussoren, serhiy.storchaka, terry.reedy
Date 2018-04-27.21:47:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1524865629.94.0.682650639539.issue33373@psf.upfronthosting.co.za>
In-reply-to
Content
ttk Label backgrounds work fine on Windows and, possibly, Linux (Serhiy?), and even, possibly with tcl/tk 8.6 on macOS (Ned?).  tk 8.6 for macOS has gotten several bug fixes.  C.D., please download and try out the python.org 3.7.0b3 macOS installer.  It included and will install for Python's use the current tcl/tk 8.6.x bugfix release.

import tkinter as tk
from tkinter import ttk
r = tk.Tk()
l = ttk.Label(r, text='colored label', background='red')
l.pack()
r.mainloop()  # if not in IDLE

We obviously should not remove something that works as intended on some systems.
History
Date User Action Args
2018-04-27 21:47:09terry.reedysetrecipients: + terry.reedy, ronaldoussoren, ned.deily, serhiy.storchaka, cmaceachern
2018-04-27 21:47:09terry.reedysetmessageid: <1524865629.94.0.682650639539.issue33373@psf.upfronthosting.co.za>
2018-04-27 21:47:09terry.reedylinkissue33373 messages
2018-04-27 21:47:09terry.reedycreate