diff options
author | fvogel <fvogelnew1@free.fr> | 2018-02-06 23:32:03 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2018-02-06 23:32:03 (GMT) |
commit | 0ed210462d22873c0387e472a72ef1cb31c4f298 (patch) | |
tree | db271a2a799f0557112906820615d087d42ecaa9 /tests/ttk | |
parent | 522151de45f6a75c19e39af1e8530999c99ee2bf (diff) | |
download | tk-0ed210462d22873c0387e472a72ef1cb31c4f298.zip tk-0ed210462d22873c0387e472a72ef1cb31c4f298.tar.gz tk-0ed210462d22873c0387e472a72ef1cb31c4f298.tar.bz2 |
-placeholdertext becomes -placeholder. Changes provided by René Zaumseil
Diffstat (limited to 'tests/ttk')
-rw-r--r-- | tests/ttk/entry.test | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/ttk/entry.test b/tests/ttk/entry.test index 5cfdfee..5495fdd 100644 --- a/tests/ttk/entry.test +++ b/tests/ttk/entry.test @@ -280,11 +280,11 @@ test entry-9.1 "Index range invariants" -setup { destroy .e } -test entry-10.1 {configuration option: "-placeholdertext"} -setup { +test entry-10.1 {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} @@ -293,7 +293,7 @@ test entry-10.2 {style option: "-placeholderforeground"} -setup { pack [entry .e] } -body { ttk::style configure TEntry -foreground red - .e configure -placeholdertext {Some text} + .e configure -placeholder {Some text} update ttk::style configure TEntry -foreground #b3b3b3 update @@ -301,10 +301,10 @@ test entry-10.2 {style option: "-placeholderforeground"} -setup { destroy .e } -result {} -test entry-10.3 {placeholdertext on/off shown} -setup { +test entry-10.3 {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 |