Re: tkinter ttk.Treeview: changing background colour of single item when selected

2023-02-12 Thread John O'Hagan
On Sun, 2023-02-12 at 08:59 -0500, Thomas Passin wrote: [...] > On 2/12/2023 6:10 AM, John O'Hagan wrote: [...] > > > > My goal was to be able to change the colour of an individual item > > regardless of whether it is selected or not. To do that, it is > > necessary to be able to change the

Re: ChatGPT Generated news poster code

2023-02-12 Thread Mats Wichmann
On 2/12/23 07:58, Roland Müller via Python-list wrote: Hello, On 2/11/23 03:31, Greg Ewing via Python-list wrote: For a moment I thought this was going to be a script that uses ChatGPT to generate a random news post and post it to Usenet... Which would also have been kind of cool, as long as

Re: ChatGPT Generated news poster code

2023-02-12 Thread Roland Müller via Python-list
Hello, On 2/11/23 03:31, Greg Ewing via Python-list wrote: For a moment I thought this was going to be a script that uses ChatGPT to generate a random news post and post it to Usenet... Which would also have been kind of cool, as long as it wasn't overused. Actually, I like cynical humor too

Re: tkinter ttk.Treeview: changing background colour of single item when selected

2023-02-12 Thread Thomas Passin
On 2/12/2023 6:10 AM, John O'Hagan wrote: On Mon, 2023-02-06 at 10:19 -0800, stefalem wrote: Il giorno sabato 4 febbraio 2023 alle 11:43:29 UTC+1 John O'Hagan ha scritto: ... Is there another way to do what I want? from tkinter import * from tkinter.ttk import * root = Tk() t =

Re: tkinter ttk.Treeview: changing background colour of single item when selected

2023-02-12 Thread John O'Hagan
On Mon, 2023-02-06 at 10:19 -0800, stefalem wrote: > Il giorno sabato 4 febbraio 2023 alle 11:43:29 UTC+1 John O'Hagan ha > scritto: > ... > > > Is there another way to do what I want?  > > from tkinter import * > from tkinter.ttk import * > > root = Tk() > t = Treeview(root) > > t.insert('',