From 6d4f1380a80192dd7604085751449b9d357271ed Mon Sep 17 00:00:00 2001 From: "fvogelnew1@free.fr" Date: Sat, 30 May 2015 13:33:21 +0000 Subject: Added test for bug [1292219fff] regarding UnmapNotify event --- tests/panedwindow.test | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -- cgit v0.12