From aivar.annamaa at gmail.com Tue Jul 17 06:23:37 2018 From: aivar.annamaa at gmail.com (Aivar Annamaa) Date: Tue, 17 Jul 2018 13:23:37 +0300 Subject: [Tkinter-discuss] Text bgstipple not working on Mac Message-ID: Hi! Following script shows dithered background on Windows and Linux (Tk 8.6) but on Mac (both with Tk 8.5 via Python 3.6 and Tk 8.6 via Python 3.7) the background remains solid. Is this a known limitation or am I missing something? ############################### import tkinter as tk root = tk.Tk() text = tk.Text(root) text.grid() text.insert("1.0", """first second third """) text.tag_configure("bgstip", bgstipple="gray50", background="pink") text.tag_configure("fgstip", fgstipple="gray50", foreground="blue") text.tag_add("bgstip", "2.0", "3.2") text.tag_add("fgstip", "3.0", "3.5") root.mainloop() ############################### best regards, Aivar From kw at codebykevin.com Tue Jul 17 08:25:10 2018 From: kw at codebykevin.com (Kevin Walzer) Date: Tue, 17 Jul 2018 08:25:10 -0400 Subject: [Tkinter-discuss] Text bgstipple not working on Mac In-Reply-To: References: Message-ID: On 7/17/18 6:23 AM, Aivar Annamaa wrote: > Is this a known limitation or am I missing something? It is a known limitation--the Mac does not support stippling. -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com