📜  tkinter 树视图样式配置标题背景 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:41.505000             🧑  作者: Mango

代码示例1
# user style theme clam to be able to change the background and foreground heading colour
style = ttk.Style(self)
style.theme_use("clam")
style.configure("Treeview.Heading", background="black", foreground="white")