How to change background/foreground of item in Treeview by tag?
问题 I want to apply different background for tags in Treeview but when I set tag for example as "minus" and try to configure tag to have black background it stills returns white background. I've tried applying Style and set background to desired RGB to Treeview but background remains white. I've also tried to set tags and configure tag background to desired RGB but it is still returned as white! for row in rows: self.treeplan.insert('', 'end', text=str(cpt), values=(row[1], row[2], row[3], row[4]