summaryrefslogtreecommitdiffstats
path: root/tests/ttk
diff options
context:
space:
mode:
authorculler <culler>2020-07-27 16:27:47 (GMT)
committerculler <culler>2020-07-27 16:27:47 (GMT)
commit50092ff480b5a538c303cc781bf30505d4c2ba08 (patch)
treeb02dbbf1709ef6db989d4c47fd3c8442513e1dd6 /tests/ttk
parentad4ba7d19aaf93762d9c0c3605c14a5aca7849a6 (diff)
parent916ea258d01119b9f5e02836ac8a92c4d6c4f520 (diff)
downloadtk-50092ff480b5a538c303cc781bf30505d4c2ba08.zip
tk-50092ff480b5a538c303cc781bf30505d4c2ba08.tar.gz
tk-50092ff480b5a538c303cc781bf30505d4c2ba08.tar.bz2
Merge 8.6: fix testing and build issues on the various supported versions of macOS.
Diffstat (limited to 'tests/ttk')
-rw-r--r--tests/ttk/spinbox.test9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/ttk/spinbox.test b/tests/ttk/spinbox.test
index 2573e57..4bdabee 100644
--- a/tests/ttk/spinbox.test
+++ b/tests/ttk/spinbox.test
@@ -204,16 +204,19 @@ test spinbox-3.0 "textarea should expand to fill widget" -setup {
set ::spinbox_test {}
ttk::spinbox .sb -from 0 -to 10 -textvariable SBV
} -body {
- grid .sb -sticky ew
grid columnconfigure . 0 -weight 1
+ update idletasks
+ set timer [after 500 {set ::spinbox_test timedout}]
bind . <Map> {
after idle {
wm geometry . "210x80"
- after 100 {set ::spinbox_test [.sb identify element 5 5]}
+ update idletasks
+ set ::spinbox_test [.sb identify element 25 5]
}
bind . <Map> {}
}
- after 500 {set ::spinbox_wait 1} ; vwait ::spinbox_wait
+ grid .sb -sticky ew
+ vwait ::spinbox_test
set ::spinbox_test
} -cleanup {
destroy .sb