summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2018-11-25 17:22:08 (GMT)
committerfvogel <fvogelnew1@free.fr>2018-11-25 17:22:08 (GMT)
commite7f49c28281e68c1fc9330c7a132f90d3742652a (patch)
tree6f451478c89cbe4ae9c9bc49a469adefe5d0566d
parent575f880d6c5ae5e2ea506c902f8142eb89fb11a7 (diff)
parent699bf05287364349ba5d1a4abdbe58128f733645 (diff)
downloadtk-e7f49c28281e68c1fc9330c7a132f90d3742652a.zip
tk-e7f49c28281e68c1fc9330c7a132f90d3742652a.tar.gz
tk-e7f49c28281e68c1fc9330c7a132f90d3742652a.tar.bz2
Fix spelling error in a variable name (GitHub PR #5, chrstphrchvz)
-rw-r--r--library/demos/ttkbut.tcl12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/demos/ttkbut.tcl b/library/demos/ttkbut.tcl
index 904cd31..ab49cf4 100644
--- a/library/demos/ttkbut.tcl
+++ b/library/demos/ttkbut.tcl
@@ -21,7 +21,7 @@ ttk::label $w.msg -font $font -wraplength 4i -justify left -text "Ttk is the new
pack $w.msg -side top -fill x
## See Code / Dismiss
-pack [addSeeDismiss $w.seeDismiss $w {enabled cheese tomato basil oregano happyness}]\
+pack [addSeeDismiss $w.seeDismiss $w {enabled cheese tomato basil oregano happiness}]\
-side bottom -fill x
## Add buttons for setting the theme
@@ -69,11 +69,11 @@ pack $w.checks.e $w.checks.sep1 $w.checks.c1 $w.checks.c2 $w.checks.sep2 \
## Set up the radiobutton group
ttk::labelframe $w.radios -text "Radiobuttons"
-ttk::radiobutton $w.radios.r1 -text "Great" -variable happyness -value great
-ttk::radiobutton $w.radios.r2 -text "Good" -variable happyness -value good
-ttk::radiobutton $w.radios.r3 -text "OK" -variable happyness -value ok
-ttk::radiobutton $w.radios.r4 -text "Poor" -variable happyness -value poor
-ttk::radiobutton $w.radios.r5 -text "Awful" -variable happyness -value awful
+ttk::radiobutton $w.radios.r1 -text "Great" -variable happiness -value great
+ttk::radiobutton $w.radios.r2 -text "Good" -variable happiness -value good
+ttk::radiobutton $w.radios.r3 -text "OK" -variable happiness -value ok
+ttk::radiobutton $w.radios.r4 -text "Poor" -variable happiness -value poor
+ttk::radiobutton $w.radios.r5 -text "Awful" -variable happiness -value awful
pack $w.radios.r1 $w.radios.r2 $w.radios.r3 $w.radios.r4 $w.radios.r5 \
-fill x -padx 3 -pady 2