summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-05-30 14:02:36 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-05-30 14:02:36 (GMT)
commit06cad2c9acc51cefa77a0935d52fde5b3d79691e (patch)
treed26a6a58878659d4c5ba144537ef32392d23edf7
parent786753b1391714947b613763539305c03affa7d6 (diff)
downloadtk-06cad2c9acc51cefa77a0935d52fde5b3d79691e.zip
tk-06cad2c9acc51cefa77a0935d52fde5b3d79691e.tar.gz
tk-06cad2c9acc51cefa77a0935d52fde5b3d79691e.tar.bz2
Completed test for bug [1292219fff], regarding MapNotify event this timebug_1292219fff
-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