# button.tcl --
#
# This demonstration script creates a toplevel window containing
# several button widgets.
#
# SCCS: @(#) button.tcl 1.4 96/08/20 15:50:22
set w .button
catch {destroy $w}
toplevel $w
label $w.msg -font $font -wraplength 4i -justify left -text "If you click on any of the four buttons below, the background of the button area will change to the color indicated in the button. You can press Tab to move among the buttons, then press Space to invoke the current button."
-command "$w config -bg PeachPuff1; $w.buttons config -bg PeachPuff1"
-command "$w config -bg LightBlue1; $w.buttons config -bg LightBlue1"
-command "$w config -bg SeaGreen2; $w.buttons config -bg SeaGreen2"
-command "$w config -bg Yellow1; $w.buttons config -bg Yellow1"