summaryrefslogtreecommitdiffstats
path: root/tests/unixEmbed.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2022-09-25 18:32:08 (GMT)
committerfvogel <fvogelnew1@free.fr>2022-09-25 18:32:08 (GMT)
commit2454910edb800435df819548f9745ffecdd2737a (patch)
treee724df1ab3cba746780d97f8995d49163340c492 /tests/unixEmbed.test
parent2dfe9ca1ff82c964deb8fea5747aeabcb823dd15 (diff)
downloadtk-2454910edb800435df819548f9745ffecdd2737a.zip
tk-2454910edb800435df819548f9745ffecdd2737a.tar.gz
tk-2454910edb800435df819548f9745ffecdd2737a.tar.bz2
Remove proc updateWidgets since it now simply runs 'update' on all platforms.
Diffstat (limited to 'tests/unixEmbed.test')
-rw-r--r--tests/unixEmbed.test10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/unixEmbed.test b/tests/unixEmbed.test
index c8ca877..669ef40 100644
--- a/tests/unixEmbed.test
+++ b/tests/unixEmbed.test
@@ -1279,9 +1279,9 @@ test unixEmbed-11.1 {focus -force works for embedded toplevels} -constraints {
} -body {
toplevel .t
pack [frame .t.f -container 1 -width 200 -height 200] -fill both
- updateWidgets
+ update
toplevel .embed -use [winfo id .t.f] -bg green
- updateWidgets
+ update
focus -force .t
focus -force .embed
focus
@@ -1299,12 +1299,12 @@ test unixEmbed-11.2 {mouse coordinates in embedded toplevels} -constraints {
pack [button .main.b -text "Main Button" \
-command {lappend result "pushed .main.b"}] -padx 30 -pady 30
pack [frame .main.f -container 1 -width 200 -height 200] -fill both
- updateWidgets
+ update
toplevel .embed -use [winfo id .main.f] -bg green
- updateWidgets
+ update
pack [button .embed.b -text "Emb Button" \
-command {lappend result "pushed .embed.b"}] -padx 30 -pady 30
- updateWidgets
+ update
focus -force .main
after 100
set x [expr {[winfo rootx .main.b] + [winfo width .main.b]/2}]