Thanks in advance,
Richard
Through much trial, many errors, and looking through the ttk source
code
late last night, I eventually discovered the answers to my question
above:
To set the background color of the unused portion of a treeview (the
area
not covered by rows of data), use:
ttk::style configure Treeview -fieldbackground COLOR
To set the background color of rows containing data:
ttk::style configure Treeview.Row -background COLOR
To set the foreground color used for the "tree" column:
ttk::style Treeview.Item -foreground COLOR
To set the foreground of non-tree (-values) columns:
ttk::style configure Treeview.Cell -foreground COLOR
And a friend answered a question I did not yet have; to set the color
of
"selected" rows in the treeview:
ttk::style map Treeview.Row -background [ list selected COLOR ]
ttk::style map Treeview.Cell -foreground [ list selected COLOR ]
ttk::style map Treeview.Item -foreground [ list selected COLOR ]
And to change the color of the heading labels:
ttk::style map Treeview.Heading -background [ list active COLOR !
active COLOR ]
Why not add that to the man ?
If you want to support both 8.5.8 and 8.5.9 you can just do both.
Schelte.