Tk Source Code

Check-in [bc8c027d]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Completed test for bug [1292219fff], regarding MapNotify event this time
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | bug-1292219fff
Files: files | file ages | folders
SHA1: bc8c027d2b766715cf95327f6664f34c980016c8
User & Date: fvogel 2015-05-30 14:02:36
Context
2015-06-01
18:50
Fixed bug [1292219fff] - Propagated MapNotify and UnmapNotify events of a panedwindow to its children check-in: 2f5f8ba2 user: fvogel tags: core-8-5-branch
2015-05-30
14:02
Completed test for bug [1292219fff], regarding MapNotify event this time Closed-Leaf check-in: bc8c027d user: fvogel tags: bug-1292219fff
13:48
Propagated MapNotify events of a panedwindow to its children check-in: 5dcac3ac user: fvogel tags: bug-1292219fff
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tests/panedwindow.test.

2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472






2473
2474
2475
2476
2477
2478
2479
2480
	.p add [button $w]
    }
    foreach w {.a .b .c .d .e .f .g .h .i .j .k .l .m .n .o .p .q .r .s .t} {
	destroy $w
    }
    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
    .p add [frame .f -bg red -width 20 -height 20] \
	    [frame .f2 -bg blue -width 20 -height 20]
    set result [.p identify 0 0]
    destroy .p .f .f2







|









>
>
>
>
>
>
|







2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
	.p add [button $w]
    }
    foreach w {.a .b .c .d .e .f .g .h .i .j .k .l .m .n .o .p .q .r .s .t} {
	destroy $w
    }
    set 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-27.1 {PanedWindowIdentifyCoords} {
    panedwindow .p -bd 0 -sashwidth 2 -sashpad 2
    .p add [frame .f -bg red -width 20 -height 20] \
	    [frame .f2 -bg blue -width 20 -height 20]
    set result [.p identify 0 0]
    destroy .p .f .f2