summaryrefslogtreecommitdiffstats
path: root/library/demos/button.tcl
diff options
context:
space:
mode:
authordas <das>2007-05-30 06:34:18 (GMT)
committerdas <das>2007-05-30 06:34:18 (GMT)
commiteea3d8a589c007592691cf767336a06b0f600c50 (patch)
tree7f71d977d1684d7ab7abab1184b5b9882d32d329 /library/demos/button.tcl
parentedeaa5c2c7150918146c96bac23523101fed2e8c (diff)
downloadtk-eea3d8a589c007592691cf767336a06b0f600c50.zip
tk-eea3d8a589c007592691cf767336a06b0f600c50.tar.gz
tk-eea3d8a589c007592691cf767336a06b0f600c50.tar.bz2
* library/bgerror.tcl: standardize dialog option & button size
* library/dialog.tcl: modifications done when running on on Aqua. * library/msgbox.tcl: * library/demos/button.tcl: set button highlightbackground on Aqua.
Diffstat (limited to 'library/demos/button.tcl')
-rw-r--r--library/demos/button.tcl5
1 files changed, 4 insertions, 1 deletions
diff --git a/library/demos/button.tcl b/library/demos/button.tcl
index c13fbbd..2578e4f 100644
--- a/library/demos/button.tcl
+++ b/library/demos/button.tcl
@@ -3,7 +3,7 @@
# This demonstration script creates a toplevel window containing
# several button widgets.
#
-# RCS: @(#) $Id: button.tcl,v 1.4 2004/12/21 11:56:35 dkf Exp $
+# RCS: @(#) $Id: button.tcl,v 1.5 2007/05/30 06:34:18 das Exp $
if {![info exists widgetDemo]} {
error "This script should be run from the \"widget\" demo."
@@ -28,6 +28,9 @@ pack $btns -side bottom -fill x
proc colorrefresh {w col} {
$w configure -bg $col
$w.buttons configure -bg $col
+ if {[tk windowingsystem] eq "aqua"} {
+ $w.buttons configure -highlightbackground $col
+ }
}
button $w.b1 -text "Peach Puff" -width 10 \