Answers for "how to style treeview in tkinter"

0

how to style treeview in tkinter

#Add Some Styles
style=ttk.Style()
#Pick a theme
style.theme_use("default")
#Configure Our Treeview colors
style.configure("Treeview",
            background="white",
            foregroung="black",
            rowheight=25,
            fieldbackground="white"
            )

style.map('Treeview',
        background=[('selected','blue')])
Posted by: Guest on September-13-2021

Code answers related to "how to style treeview in tkinter"

Python Answers by Framework

Browse Popular Code Answers by Language