summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorfvogelnew1@free.fr <fvogel>2015-05-30 14:02:36 (GMT)
committerfvogelnew1@free.fr <fvogel>2015-05-30 14:02:36 (GMT)
commit3f9158ff42d425487c354ab2be4d0a41a596e9d8 (patch)
tree9f337527c89332b858d635d59634a95414e59d46 /tests
parent1ff5b97c709293c02ad32f669550d13064a8831a (diff)
downloadtk-3f9158ff42d425487c354ab2be4d0a41a596e9d8.zip
tk-3f9158ff42d425487c354ab2be4d0a41a596e9d8.tar.gz
tk-3f9158ff42d425487c354ab2be4d0a41a596e9d8.tar.bz2
Completed test for bug [1292219fff], regarding MapNotify event this time
Diffstat (limited to 'tests')
-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