diff options
author | jenglish <jenglish@flightlab.com> | 2008-05-23 20:20:05 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2008-05-23 20:20:05 (GMT) |
commit | ee1814c0cdbcfe9807b18e2b2732c299789897a3 (patch) | |
tree | 38468a3e3f80fe6a337d7e5bef1503a0780d1797 /library/ttk/aquaTheme.tcl | |
parent | c2ee900569916fac1b939549e153c9344dca8c0a (diff) | |
download | tk-ee1814c0cdbcfe9807b18e2b2732c299789897a3.zip tk-ee1814c0cdbcfe9807b18e2b2732c299789897a3.tar.gz tk-ee1814c0cdbcfe9807b18e2b2732c299789897a3.tar.bz2 |
Batch of ttk::treeview enhancements:
+ Added [$tv identify region], [$tv identify element],
and [$tv identify item] subcommands.
+ Simplified bindings.
+ Added [$tv tag has] subcommand.
+ Tag-related display improvements: setting a tag -background
or -foreground no longer overrides selection feedback.
+ Don't need separate 'Item', 'Cell', and 'Row' style
settings anymore, only the base "Treeview" style is used.
Diffstat (limited to 'library/ttk/aquaTheme.tcl')
-rw-r--r-- | library/ttk/aquaTheme.tcl | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/library/ttk/aquaTheme.tcl b/library/ttk/aquaTheme.tcl index bc6d4e9..ccb8bd3 100644 --- a/library/ttk/aquaTheme.tcl +++ b/library/ttk/aquaTheme.tcl @@ -1,5 +1,5 @@ # -# $Id: aquaTheme.tcl,v 1.11 2007/12/13 15:27:08 dgp Exp $ +# $Id: aquaTheme.tcl,v 1.12 2008/05/23 20:20:06 jenglish Exp $ # # Aqua theme (OSX native look and feel) # @@ -38,14 +38,10 @@ namespace eval ttk::theme::aqua { ttk::style configure TCombobox -postoffset {5 -2 -10 0} # Treeview: - ttk::style configure Treeview -rowheight 18 ttk::style configure Heading -font TkHeadingFont - ttk::style map Row -background [list \ + ttk::style configure Treeview -rowheight 18 -background White + ttk::style map Treeview -background [list \ {selected background} "#c3c3c3" selected SystemHighlight] ; - ttk::style map Cell -foreground [list \ - {selected background} "#000000" selected SystemHighlightText] ; - ttk::style map Item -foreground [list \ - {selected background} "#000000" selected SystemHighlightText] ; # Enable animation for ttk::progressbar widget: ttk::style configure TProgressbar -period 100 -maxphase 255 |