summaryrefslogtreecommitdiffstats
path: root/tests/panedwindow.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-05-30 13:33:21 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-05-30 13:33:21 (GMT)
commitff3a1605b62a81c8e926998dfcbd85451831b8d7 (patch)
tree4c6135de4e663ce0888b14fad84841307834040d /tests/panedwindow.test
parent4f4e282b4f51861b64a0a16d75542c74faa7b846 (diff)
downloadtk-ff3a1605b62a81c8e926998dfcbd85451831b8d7.zip
tk-ff3a1605b62a81c8e926998dfcbd85451831b8d7.tar.gz
tk-ff3a1605b62a81c8e926998dfcbd85451831b8d7.tar.bz2
Added test for bug [1292219fff] regarding UnmapNotify event
Diffstat (limited to 'tests/panedwindow.test')
-rw-r--r--tests/panedwindow.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/panedwindow.test b/tests/panedwindow.test
index c7d84b8..582aad4 100644
--- a/tests/panedwindow.test
+++ b/tests/panedwindow.test
@@ -2460,6 +2460,17 @@ test panedwindow-26.1 {DestroyPanedWindow} {
}
set result {}
} {}
+test panedwindow-26.2 {DestroyPanedWindow, UnmapNotify event is propagated to slaves} {
+ panedwindow .pw
+ .pw add [button .pw.b]
+ pack .pw
+ update
+ set result [winfo ismapped .pw.b]
+ pack forget .pw
+ update
+ lappend result [winfo ismapped .pw.b]
+ lappend result [winfo ismapped .pw]
+} {1 0 0}
test panedwindow-27.1 {PanedWindowIdentifyCoords} {
panedwindow .p -bd 0 -sashwidth 2 -sashpad 2