summaryrefslogtreecommitdiffstats
path: root/tests/entry.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2018-02-06 23:32:03 (GMT)
committerfvogel <fvogelnew1@free.fr>2018-02-06 23:32:03 (GMT)
commit0ed210462d22873c0387e472a72ef1cb31c4f298 (patch)
treedb271a2a799f0557112906820615d087d42ecaa9 /tests/entry.test
parent522151de45f6a75c19e39af1e8530999c99ee2bf (diff)
downloadtk-0ed210462d22873c0387e472a72ef1cb31c4f298.zip
tk-0ed210462d22873c0387e472a72ef1cb31c4f298.tar.gz
tk-0ed210462d22873c0387e472a72ef1cb31c4f298.tar.bz2
-placeholdertext becomes -placeholder. Changes provided by René Zaumseil
Diffstat (limited to 'tests/entry.test')
-rw-r--r--tests/entry.test12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/entry.test b/tests/entry.test
index 6a1a22f..7696198 100644
--- a/tests/entry.test
+++ b/tests/entry.test
@@ -627,11 +627,11 @@ test entry-1.58 {configuration option: "xscrollcommand" for entry} -setup {
destroy .e
} -result {Some command}
-test entry-1.59 {configuration option: "-placeholdertext"} -setup {
+test entry-1.59 {configuration option: "-placeholder"} -setup {
pack [entry .e]
} -body {
- .e configure -placeholdertext {Some text}
- .e cget -placeholdertext
+ .e configure -placeholder {Some text}
+ .e cget -placeholder
} -cleanup {
destroy .e
} -result {Some text}
@@ -639,7 +639,7 @@ test entry-1.59 {configuration option: "-placeholdertext"} -setup {
test entry-1.60 {configuration option: "-placeholderforeground"} -setup {
pack [entry .e]
} -body {
- .e configure -placeholdertext {Some text} -placeholderforeground red
+ .e configure -placeholder {Some text} -placeholderforeground red
.e cget -placeholderforeground
} -cleanup {
destroy .e
@@ -3519,10 +3519,10 @@ test entry-24.1 {textvariable lives in a non-existing namespace} -setup {
destroy .e
} -result {can't trace "thisnsdoesntexist::myvar": parent namespace doesn't exist}
-test entry-25.1 {-placeholdertext on/off shown} -setup {
+test entry-25.1 {-placeholder on/off shown} -setup {
pack [entry .e]
} -body {
- .e configure -placeholdertext {placeholder} -textvariable ::_e
+ .e configure -placeholder {placeholder} -textvariable ::_e
update; after 1000
set ::_e entry
update; after 1000