summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogel@noemail.net>2015-05-30 14:02:36 (GMT)
committerfvogel <fvogel@noemail.net>2015-05-30 14:02:36 (GMT)
commitfeaaa7c1390adc0b479b85d36c6664d1484edab8 (patch)
treed26a6a58878659d4c5ba144537ef32392d23edf7
parentd31de5b45f840fe532af20fac33596801b64d0bc (diff)
downloadtk-feaaa7c1390adc0b479b85d36c6664d1484edab8.zip
tk-feaaa7c1390adc0b479b85d36c6664d1484edab8.tar.gz
tk-feaaa7c1390adc0b479b85d36c6664d1484edab8.tar.bz2
Completed test for bug [1292219fff], regarding MapNotify event this time
FossilOrigin-Name: bc8c027d2b766715cf95327f6664f34c980016c8
-rw-r--r--tests/panedwindow.test10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/panedwindow.test b/tests/panedwindow.test
index 582aad4..724b40d 100644
--- a/tests/panedwindow.test
+++ b/tests/panedwindow.test
@@ -2460,7 +2460,7 @@ test panedwindow-26.1 {DestroyPanedWindow} {
}
set result {}
} {}
-test panedwindow-26.2 {DestroyPanedWindow, UnmapNotify event is propagated to slaves} {
+test panedwindow-26.2 {UnmapNotify and MapNotify events are propagated to slaves} {
panedwindow .pw
.pw add [button .pw.b]
pack .pw
@@ -2470,7 +2470,13 @@ test panedwindow-26.2 {DestroyPanedWindow, UnmapNotify event is propagated to sl
update
lappend result [winfo ismapped .pw.b]
lappend result [winfo ismapped .pw]
-} {1 0 0}
+ pack .pw
+ update
+ lappend result [winfo ismapped .pw]
+ lappend result [winfo ismapped .pw.b]
+ destroy .pw .pw.b
+ set result
+} {1 0 0 1 1}
test panedwindow-27.1 {PanedWindowIdentifyCoords} {
panedwindow .p -bd 0 -sashwidth 2 -sashpad 2