diff options
author | fvogel <fvogelnew1@free.fr> | 2015-06-01 18:50:33 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2015-06-01 18:50:33 (GMT) |
commit | 3f5313f26714dded98a8f8eb1ad8c14038de8e03 (patch) | |
tree | 0b7243a54322f280330e26b2b528963034ad166c /tests/panedwindow.test | |
parent | 4987add5243346bfaa8e93f2820e058cd4e9049f (diff) | |
parent | c3568e0e0c937efefe967c9ad8227e5eb5f8c10a (diff) | |
download | tk-3f5313f26714dded98a8f8eb1ad8c14038de8e03.zip tk-3f5313f26714dded98a8f8eb1ad8c14038de8e03.tar.gz tk-3f5313f26714dded98a8f8eb1ad8c14038de8e03.tar.bz2 |
Fixed bug [1292219fff] - Propagated MapNotify and UnmapNotify events of a panedwindow to its children
Diffstat (limited to 'tests/panedwindow.test')
-rw-r--r-- | tests/panedwindow.test | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/panedwindow.test b/tests/panedwindow.test index f2e01e8..7c7e138 100644 --- a/tests/panedwindow.test +++ b/tests/panedwindow.test @@ -5087,6 +5087,23 @@ test panedwindow-25.1 {DestroyPanedWindow} -setup { } set result {} } -result {} +test panedwindow-26.2 {UnmapNotify and MapNotify events are 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] + 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-26.1 {PanedWindowIdentifyCoords} -setup { |