This page is intended to collect in one place various bits of knowledge gained through much trial, many errors, and some reading the C code of the Tile widget set. The intent is to not have to repeat the trial, error, or reading in order to remember how to utilize the ttk::style command to style various Ttk widgets.
ttk::style configure Treeview -fieldbackground color
ttk::style configure Treeview.Row -background color
ttk::style configure Treeview.Item -foreground color ttk::style configure Treeview.Cell -foreground color
ttk::style configure Treeview -rowheight height
ttk::style configure Treeview -indent distance
Adjustment of the background color of selected items in the treeview uses the ttk::style map sub-command applied to the style sub-selectors above:
ttk::style map Treeview.Row -background [ list selected color ] ttk::style map Treeview.Cell -background [ list selected color ] ttk::style map Treeview.Item -background [ list selected color ]
Adjustment of the background color of the the column heading labels uses the ttk::style map sub-commend applied to the .Heading style sub-selector:
ttk::style map Treeview.Heading -background [ list active color !active color ]
ttk::style configure TCheckbutton -wraplength distance