summaryrefslogtreecommitdiffstats
path: root/tests/panedwindow.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/panedwindow.test')
-rw-r--r--tests/panedwindow.test715
1 files changed, 344 insertions, 371 deletions
diff --git a/tests/panedwindow.test b/tests/panedwindow.test
index f2e01e8..2950f47 100644
--- a/tests/panedwindow.test
+++ b/tests/panedwindow.test
@@ -26,23 +26,23 @@ test panedwindow-1.1 {configuration options: -background (good)} -body {
test panedwindow-1.2 {configuration options: -background (bad)} -body {
.p configure -background non-existent
} -returnCodes error -result {unknown color name "non-existent"}
-test panedwindow-1.3 {configuration options: -bd (good)} -body {
- .p configure -bd 4
- list [lindex [.p configure -bd] 4] [.p cget -bd]
+test panedwindow-1.3 {configuration options: -borderwidth (good)} -body {
+ .p configure -borderwidth 4
+ list [lindex [.p configure -borderwidth] 4] [.p cget -borderwidth]
} -cleanup {
- .p configure -bd [lindex [.p configure -bd] 3]
+ .p configure -borderwidth [lindex [.p configure -borderwidth] 3]
} -result {4 4}
-test panedwindow-1.4 {configuration options: -bd (bad)} -body {
- .p configure -bd badValue
+test panedwindow-1.4 {configuration options: -borderwidth (bad)} -body {
+ .p configure -borderwidth badValue
} -returnCodes error -result {bad screen distance "badValue"}
-test panedwindow-1.5 {configuration options: -bg (good)} -body {
- .p configure -bg #ff0000
- list [lindex [.p configure -bg] 4] [.p cget -bg]
+test panedwindow-1.5 {configuration options: -background (good)} -body {
+ .p configure -background #ff0000
+ list [lindex [.p configure -background] 4] [.p cget -background]
} -cleanup {
- .p configure -bg [lindex [.p configure -bg] 3]
+ .p configure -background [lindex [.p configure -background] 3]
} -result {{#ff0000} #ff0000}
-test panedwindow-1.6 {configuration options: -bg (bad)} -body {
- .p configure -bg non-existent
+test panedwindow-1.6 {configuration options: -background (bad)} -body {
+ .p configure -background non-existent
} -returnCodes error -result {unknown color name "non-existent"}
test panedwindow-1.7 {configuration options: -borderwidth (good)} -body {
.p configure -borderwidth 1.3
@@ -264,7 +264,6 @@ test panedwindow-1.52 {configuration options: -width (bad)} -body {
} -returnCodes error -result {bad screen distance "badValue"}
deleteWindows
-
test panedwindow-2.1 {panedwindow widget command} -setup {
deleteWindows
} -body {
@@ -274,7 +273,6 @@ test panedwindow-2.1 {panedwindow widget command} -setup {
deleteWindows
} -returnCodes error -result {bad command "foo": must be add, cget, configure, forget, identify, panecget, paneconfigure, panes, proxy, or sash}
-
test panedwindow-3.1 {panedwindow panes subcommand} -setup {
deleteWindows
} -body {
@@ -288,7 +286,6 @@ test panedwindow-3.1 {panedwindow panes subcommand} -setup {
deleteWindows
} -result [list [list .b .c] [list .c]]
-
test panedwindow-4.1 {forget subcommand} -setup {
deleteWindows
} -body {
@@ -364,7 +361,6 @@ test panedwindow-4.6 {forget subcommand, changes reqsize of panedwindow} -setup
deleteWindows
} -result [list 44 20]
-
test panedwindow-5.1 {sash subcommand} -setup {
deleteWindows
} -body {
@@ -382,7 +378,6 @@ test panedwindow-5.2 {sash subcommand} -setup {
deleteWindows
} -returnCodes error -result {bad option "foo": must be coord, dragto, mark, or place}
-
test panedwindow-6.1 {sash coord subcommand, errors} -setup {
deleteWindows
} -body {
@@ -489,7 +484,6 @@ test panedwindow-6.10 {sash coord subcommand, errors} -setup {
deleteWindows
} -result [list 1 "invalid sash index" 0 1 "invalid sash index" 1 "invalid sash index"]
-
test panedwindow-7.1 {sash mark subcommand, errors} -setup {
deleteWindows
} -body {
@@ -552,7 +546,6 @@ test panedwindow-7.7 {sash mark subcommand, set mark} -setup {
deleteWindows
} -result [list 10 10]
-
test panedwindow-8.1 {sash dragto subcommand, errors} -setup {
deleteWindows
} -body {
@@ -596,7 +589,6 @@ test panedwindow-8.5 {sash dragto subcommand, errors} -setup {
deleteWindows
} -returnCodes error -result {expected integer but got "bar"}
-
test panedwindow-9.1 {sash mark/sash dragto interaction} -setup {
deleteWindows
} -body {
@@ -632,7 +624,6 @@ test panedwindow-9.3 {sash mark/sash dragto, respects minsize} -setup {
deleteWindows
} -result [list 15 0]
-
test panedwindow-10.1 {sash place subcommand, errors} -setup {
deleteWindows
} -body {
@@ -709,13 +700,12 @@ test panedwindow-10.9 {sash place subcommand, respects minsize} -setup {
deleteWindows
} -body {
panedwindow .p
- .p add [frame .f -width 20 -height 20 -bg pink]
+ .p add [frame .f -width 20 -height 20 -background pink]
.p sash place 0 2 0
} -cleanup {
deleteWindows
} -returnCodes error -result {invalid sash index}
-
test panedwindow-11.1 {moving sash changes size of pane to left} -setup {
deleteWindows
} -body {
@@ -899,7 +889,6 @@ test panedwindow-11.15 {moving sash into "virtual" space on last pane increases
deleteWindows
} -result {68 100}
-
test panedwindow-12.1 {horizontal panedwindow lays out widgets properly} -setup {
deleteWindows
set result {}
@@ -932,7 +921,7 @@ test panedwindow-12.3 {horizontal panedwindow lays out widgets properly} -setup
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0
foreach {win color} {.p.f blue .p.f2 green} {
- .p add [frame $win -width 20 -height 20 -bg $color] -padx 10 -pady 5 \
+ .p add [frame $win -width 20 -height 20 -background $color] -padx 10 -pady 5 \
-sticky ""
}
pack .p
@@ -1101,7 +1090,6 @@ test panedwindow-12.14 {panedwindow pane height overrides widget width} -setup {
deleteWindows
} -result [list 10 10]
-
test panedwindow-13.1 {PanestructureProc, widget yields managements} -setup {
deleteWindows
} -body {
@@ -1136,7 +1124,6 @@ test panedwindow-13.2 {PanedWindowLostSlaveProc, widget yields management} -setu
set result
} -result {}
-
test panedwindow-14.1 {panedwindow sticky settings} -setup {
deleteWindows
} -body {
@@ -1288,12 +1275,11 @@ test panedwindow-14.15 {panedwindow sticky settings} -setup {
deleteWindows
} -result {}
-
test panedwindow-15.1 {panedwindow sticky works} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0
- .p add [frame .p.f -height 20 -width 20 -bg red] -sticky {}
+ .p add [frame .p.f -height 20 -width 20 -background red] -sticky {}
place .p -width 40 -height 40
update
list {} [winfo x .p.f] [winfo y .p.f] [winfo width .p.f] [winfo height .p.f]
@@ -1304,7 +1290,7 @@ test panedwindow-15.2 {panedwindow sticky works} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0
- .p add [frame .p.f -height 20 -width 20 -bg red] -sticky n
+ .p add [frame .p.f -height 20 -width 20 -background red] -sticky n
place .p -width 40 -height 40
update
list n [winfo x .p.f] [winfo y .p.f] [winfo width .p.f] [winfo height .p.f]
@@ -1315,7 +1301,7 @@ test panedwindow-15.3 {panedwindow sticky works} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0
- .p add [frame .p.f -height 20 -width 20 -bg red] -sticky s
+ .p add [frame .p.f -height 20 -width 20 -background red] -sticky s
place .p -width 40 -height 40
update
list s [winfo x .p.f] [winfo y .p.f] [winfo width .p.f] [winfo height .p.f]
@@ -1326,7 +1312,7 @@ test panedwindow-15.4 {panedwindow sticky works} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0
- .p add [frame .p.f -height 20 -width 20 -bg red] -sticky e
+ .p add [frame .p.f -height 20 -width 20 -background red] -sticky e
place .p -width 40 -height 40
update
list e [winfo x .p.f] [winfo y .p.f] [winfo width .p.f] [winfo height .p.f]
@@ -1337,7 +1323,7 @@ test panedwindow-15.5 {panedwindow sticky works} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0
- .p add [frame .p.f -height 20 -width 20 -bg red] -sticky w
+ .p add [frame .p.f -height 20 -width 20 -background red] -sticky w
place .p -width 40 -height 40
update
list w [winfo x .p.f] [winfo y .p.f] [winfo width .p.f] [winfo height .p.f]
@@ -1348,7 +1334,7 @@ test panedwindow-15.6 {panedwindow sticky works} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0
- .p add [frame .p.f -height 20 -width 20 -bg red] -sticky ns
+ .p add [frame .p.f -height 20 -width 20 -background red] -sticky ns
place .p -width 40 -height 40
update
list ns [winfo x .p.f] [winfo y .p.f] [winfo width .p.f] [winfo height .p.f]
@@ -1359,7 +1345,7 @@ test panedwindow-15.7 {panedwindow sticky works} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0
- .p add [frame .p.f -height 20 -width 20 -bg red] -sticky ew
+ .p add [frame .p.f -height 20 -width 20 -background red] -sticky ew
place .p -width 40 -height 40
update
list ew [winfo x .p.f] [winfo y .p.f] [winfo width .p.f] [winfo height .p.f]
@@ -1370,7 +1356,7 @@ test panedwindow-15.8 {panedwindow sticky works} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0
- .p add [frame .p.f -height 20 -width 20 -bg red] -sticky nw
+ .p add [frame .p.f -height 20 -width 20 -background red] -sticky nw
place .p -width 40 -height 40
update
list nw [winfo x .p.f] [winfo y .p.f] [winfo width .p.f] [winfo height .p.f]
@@ -1381,7 +1367,7 @@ test panedwindow-15.9 {panedwindow sticky works} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0
- .p add [frame .p.f -height 20 -width 20 -bg red] -sticky ne
+ .p add [frame .p.f -height 20 -width 20 -background red] -sticky ne
place .p -width 40 -height 40
update
list ne [winfo x .p.f] [winfo y .p.f] [winfo width .p.f] [winfo height .p.f]
@@ -1392,7 +1378,7 @@ test panedwindow-15.10 {panedwindow sticky works} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0
- .p add [frame .p.f -height 20 -width 20 -bg red] -sticky se
+ .p add [frame .p.f -height 20 -width 20 -background red] -sticky se
place .p -width 40 -height 40
update
list se [winfo x .p.f] [winfo y .p.f] [winfo width .p.f] [winfo height .p.f]
@@ -1403,7 +1389,7 @@ test panedwindow-15.11 {panedwindow sticky works} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0
- .p add [frame .p.f -height 20 -width 20 -bg red] -sticky sw
+ .p add [frame .p.f -height 20 -width 20 -background red] -sticky sw
place .p -width 40 -height 40
update
list sw [winfo x .p.f] [winfo y .p.f] [winfo width .p.f] [winfo height .p.f]
@@ -1414,7 +1400,7 @@ test panedwindow-15.12 {panedwindow sticky works} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0
- .p add [frame .p.f -height 20 -width 20 -bg red] -sticky nse
+ .p add [frame .p.f -height 20 -width 20 -background red] -sticky nse
place .p -width 40 -height 40
update
list nse [winfo x .p.f] [winfo y .p.f] [winfo width .p.f] [winfo height .p.f]
@@ -1425,7 +1411,7 @@ test panedwindow-15.13 {panedwindow sticky works} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0
- .p add [frame .p.f -height 20 -width 20 -bg red] -sticky nsw
+ .p add [frame .p.f -height 20 -width 20 -background red] -sticky nsw
place .p -width 40 -height 40
update
list nsw [winfo x .p.f] [winfo y .p.f] [winfo width .p.f] [winfo height .p.f]
@@ -1436,7 +1422,7 @@ test panedwindow-15.14 {panedwindow sticky works} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0
- .p add [frame .p.f -height 20 -width 20 -bg red] -sticky sew
+ .p add [frame .p.f -height 20 -width 20 -background red] -sticky sew
place .p -width 40 -height 40
update
list sew [winfo x .p.f] [winfo y .p.f] [winfo width .p.f] [winfo height .p.f]
@@ -1447,7 +1433,7 @@ test panedwindow-15.15 {panedwindow sticky works} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0
- .p add [frame .p.f -height 20 -width 20 -bg red] -sticky new
+ .p add [frame .p.f -height 20 -width 20 -background red] -sticky new
place .p -width 40 -height 40
update
list new [winfo x .p.f] [winfo y .p.f] [winfo width .p.f] [winfo height .p.f]
@@ -1458,7 +1444,7 @@ test panedwindow-15.16 {panedwindow sticky works} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0
- .p add [frame .p.f -height 20 -width 20 -bg red] -sticky news
+ .p add [frame .p.f -height 20 -width 20 -background red] -sticky news
place .p -width 40 -height 40
update
list news [winfo x .p.f] [winfo y .p.f] [winfo width .p.f] [winfo height .p.f]
@@ -1466,12 +1452,11 @@ test panedwindow-15.16 {panedwindow sticky works} -setup {
deleteWindows
} -result {news 0 0 40 40}
-
test panedwindow-16.1 {setting minsize when pane is too small snaps width} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
- .p add [frame .p.f -height 20 -width 20 -bg red]
+ .p add [frame .p.f -height 20 -width 20 -background red]
set result [winfo reqwidth .p]
.p paneconfigure .p.f -minsize 40
lappend result [winfo reqwidth .p]
@@ -1479,14 +1464,13 @@ test panedwindow-16.1 {setting minsize when pane is too small snaps width} -setu
deleteWindows
} -result [list 20 40]
-
test panedwindow-17.1 {MoveSash, move right} -setup {
deleteWindows
set result {}
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
foreach w {.f1 .f2} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew
}
# Get the requested width of the paned window
@@ -1507,7 +1491,7 @@ test panedwindow-17.2 {MoveSash, move right (unmapped) clipped by reqwidth} -set
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
foreach w {.f1 .f2} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew
}
.p sash place 0 100 0
@@ -1523,7 +1507,7 @@ test panedwindow-17.3 {MoveSash, move right (mapped, width < reqwidth) clipped b
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
foreach w {.f1 .f2} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew
}
# Put the panedwindow up on the display and give it a width < reqwidth
@@ -1543,7 +1527,7 @@ test panedwindow-17.4 {MoveSash, move right (mapped, width > reqwidth) clipped b
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
foreach w {.f1 .f2} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew
}
# Put the panedwindow up on the display and give it a width > reqwidth
@@ -1563,7 +1547,7 @@ test panedwindow-17.5 {MoveSash, move right respects minsize} -setup {
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
foreach w {.f1 .f2} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew -minsize 10
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew -minsize 10
}
.p sash place 0 100 0
@@ -1579,7 +1563,7 @@ test panedwindow-17.6 {MoveSash, move right respects minsize} -setup {
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
foreach w {.f1 .f2 .f3} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew -minsize 10
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew -minsize 10
}
.p sash place 0 100 0
@@ -1594,7 +1578,7 @@ test panedwindow-17.7 {MoveSash, move right pushes other sashes} -setup {
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
foreach w {.f1 .f2 .f3} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew
}
.p sash place 0 100 0
@@ -1610,7 +1594,7 @@ test panedwindow-17.8 {MoveSash, move right pushes other sashes, respects minsiz
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
foreach w {.f1 .f2 .f3} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew -minsize 10
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew -minsize 10
}
.p sash place 0 100 0
@@ -1626,7 +1610,7 @@ test panedwindow-17.9 {MoveSash, move right respects minsize, exludes pad} -setu
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
foreach w {.f1 .f2 .f3} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] \
+ .p add [frame $w -height 20 -width 20 -background $c] \
-sticky nsew -minsize 10 -padx 5
}
@@ -1643,7 +1627,7 @@ test panedwindow-17.10 {MoveSash, move right, negative minsize becomes 0} -setup
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
foreach w {.f1 .f2 .f3} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] \
+ .p add [frame $w -height 20 -width 20 -background $c] \
-sticky nsew -minsize -50
}
@@ -1661,7 +1645,7 @@ test panedwindow-17.11 {MoveSash, move left} -setup {
set result {}
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
foreach w {.f1 .f2} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew
}
# Get the requested width of the paned window
@@ -1682,7 +1666,7 @@ test panedwindow-17.12 {MoveSash, move left, can't move outside of window} -setu
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
foreach w {.f1 .f2} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew
}
.p sash place 0 -100 0
@@ -1698,7 +1682,7 @@ test panedwindow-17.13 {MoveSash, move left respects minsize} -setup {
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
foreach w {.f1 .f2} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew -minsize 10
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew -minsize 10
}
.p sash place 0 0 0
@@ -1714,7 +1698,7 @@ test panedwindow-17.14 {MoveSash, move left respects minsize} -setup {
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
foreach w {.f1 .f2 .f3} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew -minsize 10
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew -minsize 10
}
.p sash place 1 0 0
@@ -1729,7 +1713,7 @@ test panedwindow-17.15 {MoveSash, move left pushes other sashes} -setup {
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
foreach w {.f1 .f2 .f3} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew
}
.p sash place 1 0 0
@@ -1745,7 +1729,7 @@ test panedwindow-17.16 {MoveSash, move left pushes other sashes, respects minsiz
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
foreach w {.f1 .f2 .f3} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew -minsize 10
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew -minsize 10
}
.p sash place 1 0 0
@@ -1761,7 +1745,7 @@ test panedwindow-17.17 {MoveSash, move left respects minsize, exludes pad} -setu
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
foreach w {.f1 .f2 .f3} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] \
+ .p add [frame $w -height 20 -width 20 -background $c] \
-sticky nsew -minsize 10 -padx 5
}
@@ -1778,7 +1762,7 @@ test panedwindow-17.18 {MoveSash, move left, negative minsize becomes 0} -setup
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
foreach w {.f1 .f2 .f3} c {red blue green} {
- .p add [frame $w -height 20 -width 20 -bg $c] \
+ .p add [frame $w -height 20 -width 20 -background $c] \
-sticky nsew -minsize -50
}
@@ -1791,7 +1775,6 @@ test panedwindow-17.18 {MoveSash, move left, negative minsize becomes 0} -setup
deleteWindows
} -result [list [list 8 0] [list 10 0]]
-
test panedwindow-18.1 {MoveSash, move down} -setup {
deleteWindows
} -body {
@@ -1799,7 +1782,7 @@ test panedwindow-18.1 {MoveSash, move down} -setup {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 \
-orient vertical
foreach w {.f1 .f2} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew
}
# Get the requested width of the paned window
@@ -1821,7 +1804,7 @@ test panedwindow-18.2 {MoveSash, move down (unmapped) clipped by reqheight} -set
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 \
-orient vertical
foreach w {.f1 .f2} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew
}
.p sash place 0 0 100
@@ -1838,7 +1821,7 @@ test panedwindow-18.3 {MoveSash, move down (mapped, height < reqheight) clipped
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 \
-orient vertical
foreach w {.f1 .f2} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew
}
# Put the panedwindow up on the display and give it a height < reqheight
@@ -1859,7 +1842,7 @@ test panedwindow-18.4 {MoveSash, move down (mapped, height > reqheight) clipped
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 \
-orient vertical
foreach w {.f1 .f2} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew
}
# Put the panedwindow up on the display and give it a width > reqwidth
@@ -1880,7 +1863,7 @@ test panedwindow-18.5 {MoveSash, move down respects minsize} -setup {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 \
-orient vertical
foreach w {.f1 .f2} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew -minsize 10
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew -minsize 10
}
.p sash place 0 0 100
@@ -1897,7 +1880,7 @@ test panedwindow-18.6 {MoveSash, move down respects minsize} -setup {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 \
-orient vertical
foreach w {.f1 .f2 .f3} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew -minsize 10
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew -minsize 10
}
.p sash place 0 0 100
@@ -1914,7 +1897,7 @@ test panedwindow-18.7 {MoveSash, move down pushes other sashes} -setup {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 \
-orient vertical
foreach w {.f1 .f2 .f3} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew
}
.p sash place 0 0 100
@@ -1931,7 +1914,7 @@ test panedwindow-18.8 {MoveSash, move down pushes other sashes, respects minsize
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 \
-orient vertical
foreach w {.f1 .f2 .f3} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew -minsize 10
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew -minsize 10
}
.p sash place 0 0 100
@@ -1948,7 +1931,7 @@ test panedwindow-18.9 {MoveSash, move down respects minsize, exludes pad} -setup
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 \
-orient vertical
foreach w {.f1 .f2 .f3} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] \
+ .p add [frame $w -height 20 -width 20 -background $c] \
-sticky nsew -minsize 10 -pady 5
}
@@ -1966,7 +1949,7 @@ test panedwindow-18.10 {MoveSash, move right, negative minsize becomes 0} -setup
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 \
-orient vertical
foreach w {.f1 .f2 .f3} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] \
+ .p add [frame $w -height 20 -width 20 -background $c] \
-sticky nsew -minsize -50
}
@@ -1985,7 +1968,7 @@ test panedwindow-18.11 {MoveSash, move up} -setup {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 \
-orient vertical
foreach w {.f1 .f2} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew
}
# Get the requested width of the paned window
@@ -2007,7 +1990,7 @@ test panedwindow-18.12 {MoveSash, move up, can't move outside of window} -setup
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 \
-orient vertical
foreach w {.f1 .f2} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew
}
.p sash place 0 0 -100
@@ -2024,7 +2007,7 @@ test panedwindow-18.13 {MoveSash, move up respects minsize} -setup {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 \
-orient vertical
foreach w {.f1 .f2} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew -minsize 10
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew -minsize 10
}
.p sash place 0 0 0
@@ -2041,7 +2024,7 @@ test panedwindow-18.14 {MoveSash, move up respects minsize} -setup {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 \
-orient vertical
foreach w {.f1 .f2 .f3} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew -minsize 10
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew -minsize 10
}
.p sash place 1 0 0
@@ -2057,7 +2040,7 @@ test panedwindow-18.15 {MoveSash, move up pushes other sashes} -setup {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 \
-orient vertical
foreach w {.f1 .f2 .f3} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew
}
.p sash place 1 0 0
@@ -2074,7 +2057,7 @@ test panedwindow-18.16 {MoveSash, move up pushes other sashes, respects minsize}
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 \
-orient vertical
foreach w {.f1 .f2 .f3} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] -sticky nsew -minsize 10
+ .p add [frame $w -height 20 -width 20 -background $c] -sticky nsew -minsize 10
}
.p sash place 1 0 0
@@ -2091,7 +2074,7 @@ test panedwindow-18.17 {MoveSash, move up respects minsize, exludes pad} -setup
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 \
-orient vertical
foreach w {.f1 .f2 .f3} c {red blue} {
- .p add [frame $w -height 20 -width 20 -bg $c] \
+ .p add [frame $w -height 20 -width 20 -background $c] \
-sticky nsew -minsize 10 -pady 5
}
@@ -2109,7 +2092,7 @@ test panedwindow-18.18 {MoveSash, move up, negative minsize becomes 0} -setup {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 \
-orient vertical
foreach w {.f1 .f2 .f3} c {red blue green} {
- .p add [frame $w -height 20 -width 20 -bg $c] \
+ .p add [frame $w -height 20 -width 20 -background $c] \
-sticky nsew -minsize -50
}
@@ -2132,7 +2115,7 @@ test panedwindow-19.1 {ComputeGeometry, reqheight taken from widgets} -setup {
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue]
+ .p add [frame $w -width 20 -height 20 -background blue]
}
set result [list [list [winfo reqwidth .p] [winfo reqheight .p]]]
.f3 configure -height 40
@@ -2146,7 +2129,7 @@ test panedwindow-19.2 {ComputeGeometry, reqheight taken from widgets} -setup {
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue]
+ .p add [frame $w -width 20 -height 20 -background blue]
}
set result [list [list [winfo reqwidth .p] [winfo reqheight .p]]]
.p paneconfigure .f3 -height 40
@@ -2160,7 +2143,7 @@ test panedwindow-19.3 {ComputeGeometry, reqheight taken from widgets} -setup {
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] -pady 20
+ .p add [frame $w -width 20 -height 20 -background blue] -pady 20
}
set result [list [list [winfo reqwidth .p] [winfo reqheight .p]]]
.p paneconfigure .f3 -height 40
@@ -2175,7 +2158,7 @@ test panedwindow-19.4 {ComputeGeometry, reqwidth taken from widgets} -setup {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue]
+ .p add [frame $w -width 20 -height 20 -background blue]
}
set result [list [list [winfo reqwidth .p] [winfo reqheight .p]]]
.f3 configure -width 40
@@ -2190,7 +2173,7 @@ test panedwindow-19.5 {ComputeGeometry, reqwidth taken from widgets} -setup {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue]
+ .p add [frame $w -width 20 -height 20 -background blue]
}
set result [list [list [winfo reqwidth .p] [winfo reqheight .p]]]
.p paneconfigure .f3 -width 40
@@ -2205,7 +2188,7 @@ test panedwindow-19.6 {ComputeGeometry, reqwidth taken from widgets} -setup {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 0 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] -padx 20
+ .p add [frame $w -width 20 -height 20 -background blue] -padx 20
}
set result [list [list [winfo reqwidth .p] [winfo reqheight .p]]]
.p paneconfigure .f3 -width 40
@@ -2222,7 +2205,7 @@ test panedwindow-19.7 {ComputeGeometry, one slave, reqsize set properly} -setup
# ever be drawn.
panedwindow .p -borderwidth 0 -sashpad 0 \
-sashwidth 0 -handlesize 6 -showhandle 0
- .p add [frame .p.f -width 20 -height 20 -bg red] -padx 0 -sticky ""
+ .p add [frame .p.f -width 20 -height 20 -background red] -padx 0 -sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
deleteWindows
@@ -2234,7 +2217,7 @@ test panedwindow-19.8 {ComputeGeometry, three panes, reqsize set properly} -setu
panedwindow .p -borderwidth 0 -sashpad 0 \
-sashwidth 0 -handlesize 6 -showhandle 0
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] -sticky ""
+ .p add [frame $w -width 20 -height 20 -background blue] -sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -2247,7 +2230,7 @@ test panedwindow-19.9 {ComputeGeometry, sash coords} -setup {
panedwindow .p -borderwidth 0 -sashpad 0 \
-sashwidth 0 -handlesize 6 -showhandle 0
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -2261,7 +2244,7 @@ test panedwindow-19.10 {ComputeGeometry/ArrangePanes, slave coords} -setup {
panedwindow .p -borderwidth 0 -sashpad 0 \
-sashwidth 0 -handlesize 6 -showhandle 0
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 3 -padx 11
}
pack .p
@@ -2285,7 +2268,7 @@ test panedwindow-19.11 {ComputeGeometry, one slave, vertical} -setup {
panedwindow .p -borderwidth 0 -sashpad 0 \
-orient vertical -sashwidth 0 -handlesize 6 \
-showhandle 0
- .p add [frame .f -width 20 -height 20 -bg red] -pady 0 \
+ .p add [frame .f -width 20 -height 20 -background red] -pady 0 \
-sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -2299,7 +2282,7 @@ test panedwindow-19.12 {ComputeGeometry, three panes, vertical} -setup {
-sashwidth 0 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
@@ -2314,7 +2297,7 @@ test panedwindow-19.13 {ComputeGeometry, sash coords, vertical} -setup {
-sashwidth 0 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -2329,7 +2312,7 @@ test panedwindow-19.14 {ComputeGeometry/ArrangePanes, slave coords, vert} -setup
-sashwidth 0 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 11 -padx 3
}
pack .p
@@ -2351,7 +2334,7 @@ test panedwindow-19.15 {ComputeGeometry, one slave, reqsize set properly} -setup
# ever be drawn.
panedwindow .p -borderwidth 0 -sashpad 0 \
-sashwidth 0 -handlesize 6 -showhandle 1
- .p add [frame .p.f -width 20 -height 20 -bg red] -padx 1 -sticky ""
+ .p add [frame .p.f -width 20 -height 20 -background red] -padx 1 -sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
deleteWindows
@@ -2363,7 +2346,7 @@ test panedwindow-19.16 {ComputeGeometry, three panes, reqsize set properly} -set
panedwindow .p -borderwidth 0 -sashpad 0 \
-sashwidth 0 -handlesize 6 -showhandle 1
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] -sticky ""
+ .p add [frame $w -width 20 -height 20 -background blue] -sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -2376,7 +2359,7 @@ test panedwindow-19.17 {ComputeGeometry, sash coords} -setup {
panedwindow .p -borderwidth 0 -sashpad 0 \
-sashwidth 0 -handlesize 6 -showhandle 1
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -2390,7 +2373,7 @@ test panedwindow-19.18 {ComputeGeometry/ArrangePanes, slave coords} -setup {
panedwindow .p -borderwidth 0 -sashpad 0 \
-sashwidth 0 -handlesize 6 -showhandle 1
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 3 -padx 11
}
pack .p
@@ -2414,7 +2397,7 @@ test panedwindow-19.19 {ComputeGeometry, one slave, vertical} -setup {
panedwindow .p -borderwidth 0 -sashpad 0 \
-orient vertical -sashwidth 0 -handlesize 6 \
-showhandle 1
- .p add [frame .f -width 20 -height 20 -bg red] -pady 1 \
+ .p add [frame .f -width 20 -height 20 -background red] -pady 1 \
-sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -2428,7 +2411,7 @@ test panedwindow-19.20 {ComputeGeometry, three panes, vertical} -setup {
-sashwidth 0 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
@@ -2443,7 +2426,7 @@ test panedwindow-19.21 {ComputeGeometry, sash coords, vertical} -setup {
-sashwidth 0 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -2458,7 +2441,7 @@ test panedwindow-19.22 {ComputeGeometry/ArrangePanes, slave coords, vert} -setup
-sashwidth 0 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 11 -padx 3
}
pack .p
@@ -2480,7 +2463,7 @@ test panedwindow-19.23 {ComputeGeometry, one slave, reqsize set properly} -setup
# ever be drawn.
panedwindow .p -borderwidth 0 -sashpad 0 \
-sashwidth 3 -handlesize 6 -showhandle 0
- .p add [frame .p.f -width 20 -height 20 -bg red] -padx 0 -sticky ""
+ .p add [frame .p.f -width 20 -height 20 -background red] -padx 0 -sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
deleteWindows
@@ -2492,7 +2475,7 @@ test panedwindow-19.24 {ComputeGeometry, three panes, reqsize set properly} -set
panedwindow .p -borderwidth 0 -sashpad 0 \
-sashwidth 3 -handlesize 6 -showhandle 0
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] -sticky ""
+ .p add [frame $w -width 20 -height 20 -background blue] -sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -2505,7 +2488,7 @@ test panedwindow-19.25 {ComputeGeometry, sash coords} -setup {
panedwindow .p -borderwidth 0 -sashpad 0 \
-sashwidth 3 -handlesize 6 -showhandle 0
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -2519,7 +2502,7 @@ test panedwindow-19.26 {ComputeGeometry/ArrangePanes, slave coords} -setup {
panedwindow .p -borderwidth 0 -sashpad 0 \
-sashwidth 3 -handlesize 6 -showhandle 0
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 3 -padx 11
}
pack .p
@@ -2543,7 +2526,7 @@ test panedwindow-19.27 {ComputeGeometry, one slave, vertical} -setup {
panedwindow .p -borderwidth 0 -sashpad 0 \
-orient vertical -sashwidth 3 -handlesize 6 \
-showhandle 0
- .p add [frame .f -width 20 -height 20 -bg red] -pady 0 \
+ .p add [frame .f -width 20 -height 20 -background red] -pady 0 \
-sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -2557,7 +2540,7 @@ test panedwindow-19.28 {ComputeGeometry, three panes, vertical} -setup {
-sashwidth 3 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
@@ -2572,7 +2555,7 @@ test panedwindow-19.29 {ComputeGeometry, sash coords, vertical} -setup {
-sashwidth 3 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -2587,7 +2570,7 @@ test panedwindow-19.30 {ComputeGeometry/ArrangePanes, slave coords, vert} -setup
-sashwidth 3 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 11 -padx 3
}
pack .p
@@ -2609,7 +2592,7 @@ test panedwindow-19.31 {ComputeGeometry, one slave, reqsize set properly} -setup
# ever be drawn.
panedwindow .p -borderwidth 0 -sashpad 0 \
-sashwidth 3 -handlesize 6 -showhandle 1
- .p add [frame .p.f -width 20 -height 20 -bg red] -padx 1 -sticky ""
+ .p add [frame .p.f -width 20 -height 20 -background red] -padx 1 -sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
deleteWindows
@@ -2621,7 +2604,7 @@ test panedwindow-19.32 {ComputeGeometry, three panes, reqsize set properly} -set
panedwindow .p -borderwidth 0 -sashpad 0 \
-sashwidth 3 -handlesize 6 -showhandle 1
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] -sticky ""
+ .p add [frame $w -width 20 -height 20 -background blue] -sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -2634,7 +2617,7 @@ test panedwindow-19.33 {ComputeGeometry, sash coords} -setup {
panedwindow .p -borderwidth 0 -sashpad 0 \
-sashwidth 3 -handlesize 6 -showhandle 1
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -2648,7 +2631,7 @@ test panedwindow-19.34 {ComputeGeometry/ArrangePanes, slave coords} -setup {
panedwindow .p -borderwidth 0 -sashpad 0 \
-sashwidth 3 -handlesize 6 -showhandle 1
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 3 -padx 11
}
pack .p
@@ -2672,7 +2655,7 @@ test panedwindow-19.35 {ComputeGeometry, one slave, vertical} -setup {
panedwindow .p -borderwidth 0 -sashpad 0 \
-orient vertical -sashwidth 3 -handlesize 6 \
-showhandle 1
- .p add [frame .f -width 20 -height 20 -bg red] -pady 1 \
+ .p add [frame .f -width 20 -height 20 -background red] -pady 1 \
-sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -2686,7 +2669,7 @@ test panedwindow-19.36 {ComputeGeometry, three panes, vertical} -setup {
-sashwidth 3 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
@@ -2701,7 +2684,7 @@ test panedwindow-19.37 {ComputeGeometry, sash coords, vertical} -setup {
-sashwidth 3 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -2716,7 +2699,7 @@ test panedwindow-19.38 {ComputeGeometry/ArrangePanes, slave coords, vert} -setup
-sashwidth 3 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 11 -padx 3
}
pack .p
@@ -2738,7 +2721,7 @@ test panedwindow-19.39 {ComputeGeometry, one slave, reqsize set properly} -setup
# ever be drawn.
panedwindow .p -borderwidth 0 -sashpad 5 \
-sashwidth 0 -handlesize 6 -showhandle 0
- .p add [frame .p.f -width 20 -height 20 -bg red] -padx 0 -sticky ""
+ .p add [frame .p.f -width 20 -height 20 -background red] -padx 0 -sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
deleteWindows
@@ -2750,7 +2733,7 @@ test panedwindow-19.40 {ComputeGeometry, three panes, reqsize set properly} -set
panedwindow .p -borderwidth 0 -sashpad 5 \
-sashwidth 0 -handlesize 6 -showhandle 0
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] -sticky ""
+ .p add [frame $w -width 20 -height 20 -background blue] -sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -2763,7 +2746,7 @@ test panedwindow-19.41 {ComputeGeometry, sash coords} -setup {
panedwindow .p -borderwidth 0 -sashpad 5 \
-sashwidth 0 -handlesize 6 -showhandle 0
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -2777,7 +2760,7 @@ test panedwindow-19.42 {ComputeGeometry/ArrangePanes, slave coords} -setup {
panedwindow .p -borderwidth 0 -sashpad 5 \
-sashwidth 0 -handlesize 6 -showhandle 0
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 3 -padx 11
}
pack .p
@@ -2801,7 +2784,7 @@ test panedwindow-19.43 {ComputeGeometry, one slave, vertical} -setup {
panedwindow .p -borderwidth 0 -sashpad 5 \
-orient vertical -sashwidth 0 -handlesize 6 \
-showhandle 0
- .p add [frame .f -width 20 -height 20 -bg red] -pady 0 \
+ .p add [frame .f -width 20 -height 20 -background red] -pady 0 \
-sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -2815,7 +2798,7 @@ test panedwindow-19.44 {ComputeGeometry, three panes, vertical} -setup {
-sashwidth 0 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
@@ -2830,7 +2813,7 @@ test panedwindow-19.45 {ComputeGeometry, sash coords, vertical} -setup {
-sashwidth 0 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -2845,7 +2828,7 @@ test panedwindow-19.46 {ComputeGeometry/ArrangePanes, slave coords, vert} -setup
-sashwidth 0 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 11 -padx 3
}
pack .p
@@ -2867,7 +2850,7 @@ test panedwindow-19.47 {ComputeGeometry, one slave, reqsize set properly} -setup
# ever be drawn.
panedwindow .p -borderwidth 0 -sashpad 5 \
-sashwidth 0 -handlesize 6 -showhandle 1
- .p add [frame .p.f -width 20 -height 20 -bg red] -padx 1 -sticky ""
+ .p add [frame .p.f -width 20 -height 20 -background red] -padx 1 -sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
deleteWindows
@@ -2879,7 +2862,7 @@ test panedwindow-19.48 {ComputeGeometry, three panes, reqsize set properly} -set
panedwindow .p -borderwidth 0 -sashpad 5 \
-sashwidth 0 -handlesize 6 -showhandle 1
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] -sticky ""
+ .p add [frame $w -width 20 -height 20 -background blue] -sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -2892,7 +2875,7 @@ test panedwindow-19.49 {ComputeGeometry, sash coords} -setup {
panedwindow .p -borderwidth 0 -sashpad 5 \
-sashwidth 0 -handlesize 6 -showhandle 1
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -2906,7 +2889,7 @@ test panedwindow-19.50 {ComputeGeometry/ArrangePanes, slave coords} -setup {
panedwindow .p -borderwidth 0 -sashpad 5 \
-sashwidth 0 -handlesize 6 -showhandle 1
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 3 -padx 11
}
pack .p
@@ -2930,7 +2913,7 @@ test panedwindow-19.51 {ComputeGeometry, one slave, vertical} -setup {
panedwindow .p -borderwidth 0 -sashpad 5 \
-orient vertical -sashwidth 0 -handlesize 6 \
-showhandle 1
- .p add [frame .f -width 20 -height 20 -bg red] -pady 1 \
+ .p add [frame .f -width 20 -height 20 -background red] -pady 1 \
-sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -2944,7 +2927,7 @@ test panedwindow-19.52 {ComputeGeometry, three panes, vertical} -setup {
-sashwidth 0 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
@@ -2959,7 +2942,7 @@ test panedwindow-19.53 {ComputeGeometry, sash coords, vertical} -setup {
-sashwidth 0 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -2974,7 +2957,7 @@ test panedwindow-19.54 {ComputeGeometry/ArrangePanes, slave coords, vert} -setup
-sashwidth 0 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 11 -padx 3
}
pack .p
@@ -2996,7 +2979,7 @@ test panedwindow-19.55 {ComputeGeometry, one slave, reqsize set properly} -setup
# ever be drawn.
panedwindow .p -borderwidth 0 -sashpad 5 \
-sashwidth 3 -handlesize 6 -showhandle 0
- .p add [frame .p.f -width 20 -height 20 -bg red] -padx 0 -sticky ""
+ .p add [frame .p.f -width 20 -height 20 -background red] -padx 0 -sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
deleteWindows
@@ -3008,7 +2991,7 @@ test panedwindow-19.56 {ComputeGeometry, three panes, reqsize set properly} -set
panedwindow .p -borderwidth 0 -sashpad 5 \
-sashwidth 3 -handlesize 6 -showhandle 0
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] -sticky ""
+ .p add [frame $w -width 20 -height 20 -background blue] -sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -3021,7 +3004,7 @@ test panedwindow-19.57 {ComputeGeometry, sash coords} -setup {
panedwindow .p -borderwidth 0 -sashpad 5 \
-sashwidth 3 -handlesize 6 -showhandle 0
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -3035,7 +3018,7 @@ test panedwindow-19.58 {ComputeGeometry/ArrangePanes, slave coords} -setup {
panedwindow .p -borderwidth 0 -sashpad 5 \
-sashwidth 3 -handlesize 6 -showhandle 0
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 3 -padx 11
}
pack .p
@@ -3059,7 +3042,7 @@ test panedwindow-19.59 {ComputeGeometry, one slave, vertical} -setup {
panedwindow .p -borderwidth 0 -sashpad 5 \
-orient vertical -sashwidth 3 -handlesize 6 \
-showhandle 0
- .p add [frame .f -width 20 -height 20 -bg red] -pady 0 \
+ .p add [frame .f -width 20 -height 20 -background red] -pady 0 \
-sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -3073,7 +3056,7 @@ test panedwindow-19.60 {ComputeGeometry, three panes, vertical} -setup {
-sashwidth 3 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
@@ -3088,7 +3071,7 @@ test panedwindow-19.61 {ComputeGeometry, sash coords, vertical} -setup {
-sashwidth 3 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -3103,7 +3086,7 @@ test panedwindow-19.62 {ComputeGeometry/ArrangePanes, slave coords, vert} -setup
-sashwidth 3 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 11 -padx 3
}
pack .p
@@ -3125,7 +3108,7 @@ test panedwindow-19.63 {ComputeGeometry, one slave, reqsize set properly} -setup
# ever be drawn.
panedwindow .p -borderwidth 0 -sashpad 5 \
-sashwidth 3 -handlesize 6 -showhandle 1
- .p add [frame .p.f -width 20 -height 20 -bg red] -padx 1 -sticky ""
+ .p add [frame .p.f -width 20 -height 20 -background red] -padx 1 -sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
deleteWindows
@@ -3137,7 +3120,7 @@ test panedwindow-19.64 {ComputeGeometry, three panes, reqsize set properly} -set
panedwindow .p -borderwidth 0 -sashpad 5 \
-sashwidth 3 -handlesize 6 -showhandle 1
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] -sticky ""
+ .p add [frame $w -width 20 -height 20 -background blue] -sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -3150,7 +3133,7 @@ test panedwindow-19.65 {ComputeGeometry, sash coords} -setup {
panedwindow .p -borderwidth 0 -sashpad 5 \
-sashwidth 3 -handlesize 6 -showhandle 1
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -3164,7 +3147,7 @@ test panedwindow-19.66 {ComputeGeometry/ArrangePanes, slave coords} -setup {
panedwindow .p -borderwidth 0 -sashpad 5 \
-sashwidth 3 -handlesize 6 -showhandle 1
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 3 -padx 11
}
pack .p
@@ -3188,7 +3171,7 @@ test panedwindow-19.67 {ComputeGeometry, one slave, vertical} -setup {
panedwindow .p -borderwidth 0 -sashpad 5 \
-orient vertical -sashwidth 3 -handlesize 6 \
-showhandle 1
- .p add [frame .f -width 20 -height 20 -bg red] -pady 1 \
+ .p add [frame .f -width 20 -height 20 -background red] -pady 1 \
-sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -3202,7 +3185,7 @@ test panedwindow-19.68 {ComputeGeometry, three panes, vertical} -setup {
-sashwidth 3 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
@@ -3217,7 +3200,7 @@ test panedwindow-19.69 {ComputeGeometry, sash coords, vertical} -setup {
-sashwidth 3 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -3232,7 +3215,7 @@ test panedwindow-19.70 {ComputeGeometry/ArrangePanes, slave coords, vert} -setup
-sashwidth 3 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 11 -padx 3
}
pack .p
@@ -3254,7 +3237,7 @@ test panedwindow-19.71 {ComputeGeometry, one slave, reqsize set properly} -setup
# ever be drawn.
panedwindow .p -borderwidth 2 -sashpad 0 \
-sashwidth 0 -handlesize 6 -showhandle 0
- .p add [frame .p.f -width 20 -height 20 -bg red] -padx 0 -sticky ""
+ .p add [frame .p.f -width 20 -height 20 -background red] -padx 0 -sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
deleteWindows
@@ -3266,7 +3249,7 @@ test panedwindow-19.72 {ComputeGeometry, three panes, reqsize set properly} -set
panedwindow .p -borderwidth 2 -sashpad 0 \
-sashwidth 0 -handlesize 6 -showhandle 0
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] -sticky ""
+ .p add [frame $w -width 20 -height 20 -background blue] -sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -3279,7 +3262,7 @@ test panedwindow-19.73 {ComputeGeometry, sash coords} -setup {
panedwindow .p -borderwidth 2 -sashpad 0 \
-sashwidth 0 -handlesize 6 -showhandle 0
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -3293,7 +3276,7 @@ test panedwindow-19.74 {ComputeGeometry/ArrangePanes, slave coords} -setup {
panedwindow .p -borderwidth 2 -sashpad 0 \
-sashwidth 0 -handlesize 6 -showhandle 0
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 3 -padx 11
}
pack .p
@@ -3317,7 +3300,7 @@ test panedwindow-19.75 {ComputeGeometry, one slave, vertical} -setup {
panedwindow .p -borderwidth 2 -sashpad 0 \
-orient vertical -sashwidth 0 -handlesize 6 \
-showhandle 0
- .p add [frame .f -width 20 -height 20 -bg red] -pady 0 \
+ .p add [frame .f -width 20 -height 20 -background red] -pady 0 \
-sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -3331,7 +3314,7 @@ test panedwindow-19.76 {ComputeGeometry, three panes, vertical} -setup {
-sashwidth 0 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
@@ -3346,7 +3329,7 @@ test panedwindow-19.77 {ComputeGeometry, sash coords, vertical} -setup {
-sashwidth 0 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -3361,7 +3344,7 @@ test panedwindow-19.78 {ComputeGeometry/ArrangePanes, slave coords, vert} -setup
-sashwidth 0 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 11 -padx 3
}
pack .p
@@ -3383,7 +3366,7 @@ test panedwindow-19.79 {ComputeGeometry, one slave, reqsize set properly} -setup
# ever be drawn.
panedwindow .p -borderwidth 2 -sashpad 0 \
-sashwidth 0 -handlesize 6 -showhandle 1
- .p add [frame .p.f -width 20 -height 20 -bg red] -padx 1 -sticky ""
+ .p add [frame .p.f -width 20 -height 20 -background red] -padx 1 -sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
deleteWindows
@@ -3395,7 +3378,7 @@ test panedwindow-19.80 {ComputeGeometry, three panes, reqsize set properly} -set
panedwindow .p -borderwidth 2 -sashpad 0 \
-sashwidth 0 -handlesize 6 -showhandle 1
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] -sticky ""
+ .p add [frame $w -width 20 -height 20 -background blue] -sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -3408,7 +3391,7 @@ test panedwindow-19.81 {ComputeGeometry, sash coords} -setup {
panedwindow .p -borderwidth 2 -sashpad 0 \
-sashwidth 0 -handlesize 6 -showhandle 1
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -3422,7 +3405,7 @@ test panedwindow-19.82 {ComputeGeometry/ArrangePanes, slave coords} -setup {
panedwindow .p -borderwidth 2 -sashpad 0 \
-sashwidth 0 -handlesize 6 -showhandle 1
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 3 -padx 11
}
pack .p
@@ -3446,7 +3429,7 @@ test panedwindow-19.83 {ComputeGeometry, one slave, vertical} -setup {
panedwindow .p -borderwidth 2 -sashpad 0 \
-orient vertical -sashwidth 0 -handlesize 6 \
-showhandle 1
- .p add [frame .f -width 20 -height 20 -bg red] -pady 1 \
+ .p add [frame .f -width 20 -height 20 -background red] -pady 1 \
-sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -3460,7 +3443,7 @@ test panedwindow-19.84 {ComputeGeometry, three panes, vertical} -setup {
-sashwidth 0 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
@@ -3475,7 +3458,7 @@ test panedwindow-19.85 {ComputeGeometry, sash coords, vertical} -setup {
-sashwidth 0 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -3490,7 +3473,7 @@ test panedwindow-19.86 {ComputeGeometry/ArrangePanes, slave coords, vert} -setup
-sashwidth 0 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 11 -padx 3
}
pack .p
@@ -3512,7 +3495,7 @@ test panedwindow-19.87 {ComputeGeometry, one slave, reqsize set properly} -setup
# ever be drawn.
panedwindow .p -borderwidth 2 -sashpad 0 \
-sashwidth 3 -handlesize 6 -showhandle 0
- .p add [frame .p.f -width 20 -height 20 -bg red] -padx 0 -sticky ""
+ .p add [frame .p.f -width 20 -height 20 -background red] -padx 0 -sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
deleteWindows
@@ -3524,7 +3507,7 @@ test panedwindow-19.88 {ComputeGeometry, three panes, reqsize set properly} -set
panedwindow .p -borderwidth 2 -sashpad 0 \
-sashwidth 3 -handlesize 6 -showhandle 0
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] -sticky ""
+ .p add [frame $w -width 20 -height 20 -background blue] -sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -3537,7 +3520,7 @@ test panedwindow-19.89 {ComputeGeometry, sash coords} -setup {
panedwindow .p -borderwidth 2 -sashpad 0 \
-sashwidth 3 -handlesize 6 -showhandle 0
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -3551,7 +3534,7 @@ test panedwindow-19.90 {ComputeGeometry/ArrangePanes, slave coords} -setup {
panedwindow .p -borderwidth 2 -sashpad 0 \
-sashwidth 3 -handlesize 6 -showhandle 0
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 3 -padx 11
}
pack .p
@@ -3575,7 +3558,7 @@ test panedwindow-19.91 {ComputeGeometry, one slave, vertical} -setup {
panedwindow .p -borderwidth 2 -sashpad 0 \
-orient vertical -sashwidth 3 -handlesize 6 \
-showhandle 0
- .p add [frame .f -width 20 -height 20 -bg red] -pady 0 \
+ .p add [frame .f -width 20 -height 20 -background red] -pady 0 \
-sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -3589,7 +3572,7 @@ test panedwindow-19.92 {ComputeGeometry, three panes, vertical} -setup {
-sashwidth 3 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
@@ -3604,7 +3587,7 @@ test panedwindow-19.93 {ComputeGeometry, sash coords, vertical} -setup {
-sashwidth 3 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -3619,7 +3602,7 @@ test panedwindow-19.94 {ComputeGeometry/ArrangePanes, slave coords, vert} -setup
-sashwidth 3 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 11 -padx 3
}
pack .p
@@ -3641,7 +3624,7 @@ test panedwindow-19.95 {ComputeGeometry, one slave, reqsize set properly} -setup
# ever be drawn.
panedwindow .p -borderwidth 2 -sashpad 0 \
-sashwidth 3 -handlesize 6 -showhandle 1
- .p add [frame .p.f -width 20 -height 20 -bg red] -padx 1 -sticky ""
+ .p add [frame .p.f -width 20 -height 20 -background red] -padx 1 -sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
deleteWindows
@@ -3653,7 +3636,7 @@ test panedwindow-19.96 {ComputeGeometry, three panes, reqsize set properly} -set
panedwindow .p -borderwidth 2 -sashpad 0 \
-sashwidth 3 -handlesize 6 -showhandle 1
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] -sticky ""
+ .p add [frame $w -width 20 -height 20 -background blue] -sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -3666,7 +3649,7 @@ test panedwindow-19.97 {ComputeGeometry, sash coords} -setup {
panedwindow .p -borderwidth 2 -sashpad 0 \
-sashwidth 3 -handlesize 6 -showhandle 1
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -3680,7 +3663,7 @@ test panedwindow-19.98 {ComputeGeometry/ArrangePanes, slave coords} -setup {
panedwindow .p -borderwidth 2 -sashpad 0 \
-sashwidth 3 -handlesize 6 -showhandle 1
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 3 -padx 11
}
pack .p
@@ -3704,7 +3687,7 @@ test panedwindow-19.99 {ComputeGeometry, one slave, vertical} -setup {
panedwindow .p -borderwidth 2 -sashpad 0 \
-orient vertical -sashwidth 3 -handlesize 6 \
-showhandle 1
- .p add [frame .f -width 20 -height 20 -bg red] -pady 1 \
+ .p add [frame .f -width 20 -height 20 -background red] -pady 1 \
-sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -3718,7 +3701,7 @@ test panedwindow-19.100 {ComputeGeometry, three panes, vertical} -setup {
-sashwidth 3 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
@@ -3733,7 +3716,7 @@ test panedwindow-19.101 {ComputeGeometry, sash coords, vertical} -setup {
-sashwidth 3 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -3748,7 +3731,7 @@ test panedwindow-19.102 {ComputeGeometry/ArrangePanes, slave coords, vert} -setu
-sashwidth 3 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 11 -padx 3
}
pack .p
@@ -3770,7 +3753,7 @@ test panedwindow-19.103 {ComputeGeometry, one slave, reqsize set properly} -setu
# ever be drawn.
panedwindow .p -borderwidth 2 -sashpad 5 \
-sashwidth 0 -handlesize 6 -showhandle 0
- .p add [frame .p.f -width 20 -height 20 -bg red] -padx 0 -sticky ""
+ .p add [frame .p.f -width 20 -height 20 -background red] -padx 0 -sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
deleteWindows
@@ -3782,7 +3765,7 @@ test panedwindow-19.104 {ComputeGeometry, three panes, reqsize set properly} -se
panedwindow .p -borderwidth 2 -sashpad 5 \
-sashwidth 0 -handlesize 6 -showhandle 0
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] -sticky ""
+ .p add [frame $w -width 20 -height 20 -background blue] -sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -3795,7 +3778,7 @@ test panedwindow-19.105 {ComputeGeometry, sash coords} -setup {
panedwindow .p -borderwidth 2 -sashpad 5 \
-sashwidth 0 -handlesize 6 -showhandle 0
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -3809,7 +3792,7 @@ test panedwindow-19.106 {ComputeGeometry/ArrangePanes, slave coords} -setup {
panedwindow .p -borderwidth 2 -sashpad 5 \
-sashwidth 0 -handlesize 6 -showhandle 0
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 3 -padx 11
}
pack .p
@@ -3833,7 +3816,7 @@ test panedwindow-19.107 {ComputeGeometry, one slave, vertical} -setup {
panedwindow .p -borderwidth 2 -sashpad 5 \
-orient vertical -sashwidth 0 -handlesize 6 \
-showhandle 0
- .p add [frame .f -width 20 -height 20 -bg red] -pady 0 \
+ .p add [frame .f -width 20 -height 20 -background red] -pady 0 \
-sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -3847,7 +3830,7 @@ test panedwindow-19.108 {ComputeGeometry, three panes, vertical} -setup {
-sashwidth 0 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
@@ -3862,7 +3845,7 @@ test panedwindow-19.109 {ComputeGeometry, sash coords, vertical} -setup {
-sashwidth 0 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -3877,7 +3860,7 @@ test panedwindow-19.110 {ComputeGeometry/ArrangePanes, slave coords, vert} -setu
-sashwidth 0 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 11 -padx 3
}
pack .p
@@ -3899,7 +3882,7 @@ test panedwindow-19.111 {ComputeGeometry, one slave, reqsize set properly} -setu
# ever be drawn.
panedwindow .p -borderwidth 2 -sashpad 5 \
-sashwidth 0 -handlesize 6 -showhandle 1
- .p add [frame .p.f -width 20 -height 20 -bg red] -padx 1 -sticky ""
+ .p add [frame .p.f -width 20 -height 20 -background red] -padx 1 -sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
deleteWindows
@@ -3911,7 +3894,7 @@ test panedwindow-19.112 {ComputeGeometry, three panes, reqsize set properly} -se
panedwindow .p -borderwidth 2 -sashpad 5 \
-sashwidth 0 -handlesize 6 -showhandle 1
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] -sticky ""
+ .p add [frame $w -width 20 -height 20 -background blue] -sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -3924,7 +3907,7 @@ test panedwindow-19.113 {ComputeGeometry, sash coords} -setup {
panedwindow .p -borderwidth 2 -sashpad 5 \
-sashwidth 0 -handlesize 6 -showhandle 1
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -3938,7 +3921,7 @@ test panedwindow-19.114 {ComputeGeometry/ArrangePanes, slave coords} -setup {
panedwindow .p -borderwidth 2 -sashpad 5 \
-sashwidth 0 -handlesize 6 -showhandle 1
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 3 -padx 11
}
pack .p
@@ -3962,7 +3945,7 @@ test panedwindow-19.115 {ComputeGeometry, one slave, vertical} -setup {
panedwindow .p -borderwidth 2 -sashpad 5 \
-orient vertical -sashwidth 0 -handlesize 6 \
-showhandle 1
- .p add [frame .f -width 20 -height 20 -bg red] -pady 1 \
+ .p add [frame .f -width 20 -height 20 -background red] -pady 1 \
-sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -3976,7 +3959,7 @@ test panedwindow-19.116 {ComputeGeometry, three panes, vertical} -setup {
-sashwidth 0 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
@@ -3991,7 +3974,7 @@ test panedwindow-19.117 {ComputeGeometry, sash coords, vertical} -setup {
-sashwidth 0 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -4006,7 +3989,7 @@ test panedwindow-19.118 {ComputeGeometry/ArrangePanes, slave coords, vert} -setu
-sashwidth 0 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 11 -padx 3
}
pack .p
@@ -4028,7 +4011,7 @@ test panedwindow-19.119 {ComputeGeometry, one slave, reqsize set properly} -setu
# ever be drawn.
panedwindow .p -borderwidth 2 -sashpad 5 \
-sashwidth 3 -handlesize 6 -showhandle 0
- .p add [frame .p.f -width 20 -height 20 -bg red] -padx 0 -sticky ""
+ .p add [frame .p.f -width 20 -height 20 -background red] -padx 0 -sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
deleteWindows
@@ -4040,7 +4023,7 @@ test panedwindow-19.120 {ComputeGeometry, three panes, reqsize set properly} -se
panedwindow .p -borderwidth 2 -sashpad 5 \
-sashwidth 3 -handlesize 6 -showhandle 0
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] -sticky ""
+ .p add [frame $w -width 20 -height 20 -background blue] -sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -4053,7 +4036,7 @@ test panedwindow-19.121 {ComputeGeometry, sash coords} -setup {
panedwindow .p -borderwidth 2 -sashpad 5 \
-sashwidth 3 -handlesize 6 -showhandle 0
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -4067,7 +4050,7 @@ test panedwindow-19.122 {ComputeGeometry/ArrangePanes, slave coords} -setup {
panedwindow .p -borderwidth 2 -sashpad 5 \
-sashwidth 3 -handlesize 6 -showhandle 0
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 3 -padx 11
}
pack .p
@@ -4091,7 +4074,7 @@ test panedwindow-19.123 {ComputeGeometry, one slave, vertical} -setup {
panedwindow .p -borderwidth 2 -sashpad 5 \
-orient vertical -sashwidth 3 -handlesize 6 \
-showhandle 0
- .p add [frame .f -width 20 -height 20 -bg red] -pady 0 \
+ .p add [frame .f -width 20 -height 20 -background red] -pady 0 \
-sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -4105,7 +4088,7 @@ test panedwindow-19.124 {ComputeGeometry, three panes, vertical} -setup {
-sashwidth 3 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
@@ -4120,7 +4103,7 @@ test panedwindow-19.125 {ComputeGeometry, sash coords, vertical} -setup {
-sashwidth 3 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -4135,7 +4118,7 @@ test panedwindow-19.126 {ComputeGeometry/ArrangePanes, slave coords, vert} -setu
-sashwidth 3 -handlesize 6 -showhandle 0 \
-orient vertical
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 11 -padx 3
}
pack .p
@@ -4157,7 +4140,7 @@ test panedwindow-19.127 {ComputeGeometry, one slave, reqsize set properly} -setu
# ever be drawn.
panedwindow .p -borderwidth 2 -sashpad 5 \
-sashwidth 3 -handlesize 6 -showhandle 1
- .p add [frame .p.f -width 20 -height 20 -bg red] -padx 1 -sticky ""
+ .p add [frame .p.f -width 20 -height 20 -background red] -padx 1 -sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
deleteWindows
@@ -4169,7 +4152,7 @@ test panedwindow-19.128 {ComputeGeometry, three panes, reqsize set properly} -se
panedwindow .p -borderwidth 2 -sashpad 5 \
-sashwidth 3 -handlesize 6 -showhandle 1
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] -sticky ""
+ .p add [frame $w -width 20 -height 20 -background blue] -sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -4182,7 +4165,7 @@ test panedwindow-19.129 {ComputeGeometry, sash coords} -setup {
panedwindow .p -borderwidth 2 -sashpad 5 \
-sashwidth 3 -handlesize 6 -showhandle 1
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -4196,7 +4179,7 @@ test panedwindow-19.130 {ComputeGeometry/ArrangePanes, slave coords} -setup {
panedwindow .p -borderwidth 2 -sashpad 5 \
-sashwidth 3 -handlesize 6 -showhandle 1
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 3 -padx 11
}
pack .p
@@ -4220,7 +4203,7 @@ test panedwindow-19.131 {ComputeGeometry, one slave, vertical} -setup {
panedwindow .p -borderwidth 2 -sashpad 5 \
-orient vertical -sashwidth 3 -handlesize 6 \
-showhandle 1
- .p add [frame .f -width 20 -height 20 -bg red] -pady 1 \
+ .p add [frame .f -width 20 -height 20 -background red] -pady 1 \
-sticky ""
list [winfo reqwidth .p] [winfo reqheight .p]
} -cleanup {
@@ -4234,7 +4217,7 @@ test panedwindow-19.132 {ComputeGeometry, three panes, vertical} -setup {
-sashwidth 3 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [winfo reqwidth .p] [winfo reqheight .p]
@@ -4249,7 +4232,7 @@ test panedwindow-19.133 {ComputeGeometry, sash coords, vertical} -setup {
-sashwidth 3 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.f1 .f2 .f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky ""
}
list [.p sash coord 0] [.p sash coord 1]
@@ -4264,7 +4247,7 @@ test panedwindow-19.134 {ComputeGeometry/ArrangePanes, slave coords, vert} -setu
-sashwidth 3 -handlesize 6 -showhandle 1 \
-orient vertical
foreach w {.p.f1 .p.f2 .p.f3} {
- .p add [frame $w -width 20 -height 20 -bg blue] \
+ .p add [frame $w -width 20 -height 20 -background blue] \
-sticky nsew -pady 11 -padx 3
}
pack .p
@@ -4279,12 +4262,11 @@ test panedwindow-19.134 {ComputeGeometry/ArrangePanes, slave coords, vert} -setu
deleteWindows
} -result {{5 13 20 20} {5 71 20 20} {5 129 20 20}}
-
test panedwindow-20.1 {destroyed widgets are removed from panedwindow} -setup {
deleteWindows
} -body {
panedwindow .p
- .p add [frame .f -width 20 -height 20 -bg blue]
+ .p add [frame .f -width 20 -height 20 -background blue]
destroy .f
.p panes
} -cleanup {
@@ -4294,21 +4276,20 @@ test panedwindow-20.2 {destroyed slave causes geometry recomputation} -setup {
deleteWindows
} -body {
panedwindow .p -borderwidth 0 -sashpad 0 -sashwidth 2
- .p add [frame .f -width 20 -height 20 -bg blue] \
- [frame .f2 -width 20 -height 20 -bg red]
+ .p add [frame .f -width 20 -height 20 -background blue] \
+ [frame .f2 -width 20 -height 20 -background red]
destroy .f
winfo reqwidth .p
} -cleanup {
deleteWindows
} -result 20
-
test panedwindow-21.1 {ArrangePanes, extra space is given to the last pane} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
- .p add [frame .f1 -width 20 -height 20 -bg blue] \
- [frame .f2 -width 20 -height 20 -bg red] -sticky nsew
+ .p add [frame .f1 -width 20 -height 20 -background blue] \
+ [frame .f2 -width 20 -height 20 -background red] -sticky nsew
place .p -width 100 -x 0 -y 0
update
winfo width .f2
@@ -4320,8 +4301,8 @@ test panedwindow-21.2 {ArrangePanes, extra space is given to the last pane} -set
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 \
-orient vertical
- .p add [frame .f1 -width 20 -height 20 -bg blue] \
- [frame .f2 -width 20 -height 20 -bg red] -sticky nsew
+ .p add [frame .f1 -width 20 -height 20 -background blue] \
+ [frame .f2 -width 20 -height 20 -background red] -sticky nsew
place .p -height 100 -x 0 -y 0
update
winfo height .f2
@@ -4332,8 +4313,8 @@ test panedwindow-21.3 {ArrangePanes, explicit height/width are preferred} -setup
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
- .p add [frame .f1 -width 20 -height 20 -bg blue] \
- [frame .f2 -width 20 -height 20 -bg red] -sticky ""
+ .p add [frame .f1 -width 20 -height 20 -background blue] \
+ [frame .f2 -width 20 -height 20 -background red] -sticky ""
.p paneconfigure .f1 -width 10 -height 15
pack .p
update
@@ -4345,8 +4326,8 @@ test panedwindow-21.4 {ArrangePanes, panes clipped by size of pane} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
- .p add [frame .f1 -width 20 -height 20 -bg blue] \
- [frame .f2 -width 20 -height 20 -bg red]
+ .p add [frame .f1 -width 20 -height 20 -background blue] \
+ [frame .f2 -width 20 -height 20 -background red]
.p sash place 0 10 0
pack .p
update
@@ -4359,8 +4340,8 @@ test panedwindow-21.5 {ArrangePanes, panes clipped by size of pane} -setup {
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 \
-orient vertical
- .p add [frame .f1 -width 20 -height 20 -bg blue] \
- [frame .f2 -width 20 -height 20 -bg red]
+ .p add [frame .f1 -width 20 -height 20 -background blue] \
+ [frame .f2 -width 20 -height 20 -background red]
.p sash place 0 0 10
pack .p
update
@@ -4372,8 +4353,8 @@ test panedwindow-21.6 {ArrangePanes, height of pane taken from total height} -se
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
- .p add [frame .p.f1 -width 20 -height 20 -bg blue] \
- [frame .p.f2 -width 20 -height 40 -bg red] -sticky ""
+ .p add [frame .p.f1 -width 20 -height 20 -background blue] \
+ [frame .p.f2 -width 20 -height 40 -background red] -sticky ""
pack .p
update
winfo y .p.f1
@@ -4385,8 +4366,8 @@ test panedwindow-21.7 {ArrangePanes, width of pane taken from total width} -setu
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 \
-orient vertical
- .p add [frame .p.f1 -width 20 -height 20 -bg blue] \
- [frame .p.f2 -width 40 -height 40 -bg red] -sticky ""
+ .p add [frame .p.f1 -width 20 -height 20 -background blue] \
+ [frame .p.f2 -width 40 -height 40 -background red] -sticky ""
pack .p
update
winfo x .p.f1
@@ -4397,8 +4378,8 @@ test panedwindow-21.8 {ArrangePanes, panes with width <= 0 are unmapped} -setup
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
- .p add [frame .f1 -width 20 -height 20 -bg blue] \
- [frame .f2 -width 20 -height 40 -bg red]
+ .p add [frame .f1 -width 20 -height 20 -background blue] \
+ [frame .f2 -width 20 -height 40 -background red]
pack .p
update
set result [winfo ismapped .f1]
@@ -4412,8 +4393,8 @@ test panedwindow-21.9 {ArrangePanes, panes with width <= 0 are unmapped} -setup
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
- .p add [frame .p.f1 -width 20 -height 20 -bg blue] \
- [frame .p.f2 -width 20 -height 40 -bg red]
+ .p add [frame .p.f1 -width 20 -height 20 -background blue] \
+ [frame .p.f2 -width 20 -height 40 -background red]
pack .p
update
set result [winfo ismapped .p.f1]
@@ -4427,8 +4408,8 @@ test panedwindow-21.10 {ArrangePanes, panes with width <= 0 are unmapped} -setup
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 -orient vertical
- .p add [frame .p.f1 -width 20 -height 20 -bg blue] \
- [frame .p.f2 -width 20 -height 40 -bg red]
+ .p add [frame .p.f1 -width 20 -height 20 -background blue] \
+ [frame .p.f2 -width 20 -height 40 -background red]
pack .p
update
set result [winfo ismapped .p.f1]
@@ -4442,8 +4423,8 @@ test panedwindow-21.11 {ArrangePanes, last pane shrinks} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2
- .p add [frame .f1 -width 20 -height 20 -bg blue] \
- [frame .f2 -width 20 -height 20 -bg red] -sticky nsew
+ .p add [frame .f1 -width 20 -height 20 -background blue] \
+ [frame .f2 -width 20 -height 20 -background red] -sticky nsew
place .p -width 40 -x 0 -y 0
update
winfo width .f2
@@ -4455,8 +4436,8 @@ test panedwindow-21.12 {ArrangePanes, last pane shrinks} -setup {
} -body {
panedwindow .p -showhandle false -borderwidth 0 -sashpad 0 -sashwidth 2 \
-orient vertical
- .p add [frame .f1 -width 20 -height 20 -bg blue] \
- [frame .f2 -width 20 -height 20 -bg red] -sticky nsew
+ .p add [frame .f1 -width 20 -height 20 -background blue] \
+ [frame .f2 -width 20 -height 20 -background red] -sticky nsew
place .p -height 40 -x 0 -y 0
update
winfo height .f2
@@ -4467,7 +4448,7 @@ test panedwindow-21.13 {ArrangePanes, panedwindow resizes} -setup {
deleteWindows
} -body {
panedwindow .p -width 200 -borderwidth 0
- frame .f1 -height 50 -bg blue
+ frame .f1 -height 50 -background blue
set result [list]
lappend result [winfo reqwidth .p] [winfo reqheight .p]
.p add .f1
@@ -4480,7 +4461,7 @@ test panedwindow-21.14 {ArrangePanes, panedwindow resizes} -setup {
deleteWindows
} -body {
panedwindow .p -height 200 -borderwidth 0 -orient vertical
- frame .f1 -width 50 -bg blue
+ frame .f1 -width 50 -background blue
set result [list]
lappend result [winfo reqwidth .p] [winfo reqheight .p]
.p add .f1
@@ -4493,8 +4474,8 @@ test panedwindow-21.15 {ArrangePanes, last pane grows} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -height 50
- .p add [frame .f1 -width 50 -bg red] [frame .f2 -width 50 -bg white] \
- [frame .f3 -width 50 -bg blue] [frame .f4 -width 50 -bg green]
+ .p add [frame .f1 -width 50 -background red] [frame .f2 -width 50 -background white] \
+ [frame .f3 -width 50 -background blue] [frame .f4 -width 50 -background green]
.p sash place 1 250 0
pack .p
update
@@ -4509,14 +4490,13 @@ test panedwindow-21.15 {ArrangePanes, last pane grows} -setup {
deleteWindows
} -result {50 150 1 1 211 50 150 1 89 300}
-
test panedwindow-22.1 {PanedWindowReqProc, react to slave geometry changes} -setup {
deleteWindows
} -body {
# Basically just want to make sure that the PanedWindowReqProc is called
panedwindow .p -borderwidth 0 -sashpad 0 -sashwidth 2
- .p add [frame .f1 -width 20 -height 20 -bg blue] \
- [frame .f2 -width 20 -height 40 -bg red]
+ .p add [frame .f1 -width 20 -height 20 -background blue] \
+ [frame .f2 -width 20 -height 40 -background red]
set result [winfo reqheight .p]
.f1 configure -height 80
lappend result [winfo reqheight .p]
@@ -4537,7 +4517,6 @@ test panedwindow-22.2 {PanedWindowReqProc, react to slave geometry changes} -set
deleteWindows
} -result {10}
-
test panedwindow-23.1 {ConfigurePanes, can't add panedwindow to itself} -setup {
deleteWindows
} -body {
@@ -4882,10 +4861,10 @@ test panedwindow-23.29 {ConfigurePanes, -hide works} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false
- frame .f1 -width 40 -height 100 -bg red
- frame .f2 -width 40 -height 100 -bg white
- frame .f3 -width 40 -height 100 -bg blue
- frame .f4 -width 40 -height 100 -bg green
+ frame .f1 -width 40 -height 100 -background red
+ frame .f2 -width 40 -height 100 -background white
+ frame .f3 -width 40 -height 100 -background blue
+ frame .f4 -width 40 -height 100 -background green
.p add .f1 .f2 .f3 .f4
pack .p
update
@@ -4907,10 +4886,10 @@ test panedwindow-23.30 {ConfigurePanes, -hide works} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -width 130 -height 100
- frame .f1 -width 40 -bg red
- frame .f2 -width 40 -bg white
- frame .f3 -width 40 -bg blue
- frame .f4 -width 40 -bg green
+ frame .f1 -width 40 -background red
+ frame .f2 -width 40 -background white
+ frame .f3 -width 40 -background blue
+ frame .f4 -width 40 -background green
.p add .f1 .f2 .f3 .f4
pack .p
update
@@ -4932,9 +4911,9 @@ test panedwindow-23.31 {ConfigurePanes, -hide works, last pane stretches} -setup
deleteWindows
} -body {
panedwindow .p -showhandle false -width 200 -height 200 -borderwidth 0
- frame .f1 -width 50 -bg red
- frame .f2 -width 50 -bg green
- frame .f3 -width 50 -bg blue
+ frame .f1 -width 50 -background red
+ frame .f2 -width 50 -background green
+ frame .f3 -width 50 -background blue
.p add .f1 .f2 .f3
pack .p
update
@@ -4951,9 +4930,9 @@ test panedwindow-23.32 {ConfigurePanes, -hide works, last pane stretches} -setup
} -body {
panedwindow .p -showhandle false -width 200 -height 200 \
-borderwidth 0 -orient vertical
- frame .f1 -height 50 -bg red
- frame .f2 -height 50 -bg green
- frame .f3 -height 50 -bg blue
+ frame .f1 -height 50 -background red
+ frame .f2 -height 50 -background green
+ frame .f3 -height 50 -background blue
.p add .f1 .f2 .f3
pack .p
update
@@ -4970,10 +4949,10 @@ test panedwindow-23.33 {ConfigurePanes, -stretch first} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -height 100 -width 182
- frame .f1 -width 40 -bg red
- frame .f2 -width 40 -bg white
- frame .f3 -width 40 -bg blue
- frame .f4 -width 40 -bg green
+ frame .f1 -width 40 -background red
+ frame .f2 -width 40 -background white
+ frame .f3 -width 40 -background blue
+ frame .f4 -width 40 -background green
.p add .f1 .f2 .f3 .f4 -stretch first
pack .p
update
@@ -4991,10 +4970,10 @@ test panedwindow-23.34 {ConfigurePanes, -stretch middle} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -height 100 -width 182
- frame .f1 -width 40 -bg red
- frame .f2 -width 40 -bg white
- frame .f3 -width 40 -bg blue
- frame .f4 -width 40 -bg green
+ frame .f1 -width 40 -background red
+ frame .f2 -width 40 -background white
+ frame .f3 -width 40 -background blue
+ frame .f4 -width 40 -background green
.p add .f1 .f2 .f3 .f4 -stretch middle
pack .p
update
@@ -5012,10 +4991,10 @@ test panedwindow-23.35 {ConfigurePanes, -stretch always} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -height 100 -width 182
- frame .f1 -width 40 -bg red
- frame .f2 -width 40 -bg white
- frame .f3 -width 40 -bg blue
- frame .f4 -width 40 -bg green
+ frame .f1 -width 40 -background red
+ frame .f2 -width 40 -background white
+ frame .f3 -width 40 -background blue
+ frame .f4 -width 40 -background green
.p add .f1 .f2 .f3 .f4 -stretch always
pack .p
update
@@ -5033,10 +5012,10 @@ test panedwindow-23.36 {ConfigurePanes, -stretch never} -setup {
deleteWindows
} -body {
panedwindow .p -showhandle false -height 100 -width 182
- frame .f1 -width 40 -bg red
- frame .f2 -width 40 -bg white
- frame .f3 -width 40 -bg blue
- frame .f4 -width 40 -bg green
+ frame .f1 -width 40 -background red
+ frame .f2 -width 40 -background white
+ frame .f3 -width 40 -background blue
+ frame .f4 -width 40 -background green
.p add .f1 .f2 .f3 .f4 -stretch never
pack .p
update
@@ -5051,7 +5030,6 @@ test panedwindow-23.36 {ConfigurePanes, -stretch never} -setup {
deleteWindows
} -result {40 40 40 40 40 40 40 40}
-
test panedwindow-24.1 {Unlink, remove a paned with -before/-after refs} -setup {
deleteWindows
} -body {
@@ -5073,7 +5051,6 @@ test panedwindow-24.1 {Unlink, remove a paned with -before/-after refs} -setup {
deleteWindows
} -result {.pw.l3 {} .pw.l1}
-
test panedwindow-25.1 {DestroyPanedWindow} -setup {
deleteWindows
} -body {
@@ -5088,13 +5065,12 @@ test panedwindow-25.1 {DestroyPanedWindow} -setup {
set result {}
} -result {}
-
test panedwindow-26.1 {PanedWindowIdentifyCoords} -setup {
deleteWindows
} -body {
- 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]
+ panedwindow .p -borderwidth 0 -sashwidth 2 -sashpad 2
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20]
.p identify 0 0
} -cleanup {
deleteWindows
@@ -5102,9 +5078,9 @@ test panedwindow-26.1 {PanedWindowIdentifyCoords} -setup {
test panedwindow-26.2 {PanedWindowIdentifyCoords, padding is included} -setup {
deleteWindows
} -body {
- 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]
+ panedwindow .p -borderwidth 0 -sashwidth 2 -sashpad 2
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20]
.p identify 20 0
} -cleanup {
deleteWindows
@@ -5112,9 +5088,9 @@ test panedwindow-26.2 {PanedWindowIdentifyCoords, padding is included} -setup {
test panedwindow-26.3 {PanedWindowIdentifyCoords} -setup {
deleteWindows
} -body {
- 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]
+ panedwindow .p -borderwidth 0 -sashwidth 2 -sashpad 2
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20]
.p identify 22 0
} -cleanup {
deleteWindows
@@ -5122,9 +5098,9 @@ test panedwindow-26.3 {PanedWindowIdentifyCoords} -setup {
test panedwindow-26.4 {PanedWindowIdentifyCoords} -setup {
deleteWindows
} -body {
- 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]
+ panedwindow .p -borderwidth 0 -sashwidth 2 -sashpad 2
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20]
.p identify 24 0
} -cleanup {
deleteWindows
@@ -5132,9 +5108,9 @@ test panedwindow-26.4 {PanedWindowIdentifyCoords} -setup {
test panedwindow-26.5 {PanedWindowIdentifyCoords} -setup {
deleteWindows
} -body {
- 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]
+ panedwindow .p -borderwidth 0 -sashwidth 2 -sashpad 2
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20]
.p identify 26 0
} -cleanup {
deleteWindows
@@ -5142,9 +5118,9 @@ test panedwindow-26.5 {PanedWindowIdentifyCoords} -setup {
test panedwindow-26.6 {PanedWindowIdentifyCoords} -setup {
deleteWindows
} -body {
- 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]
+ panedwindow .p -borderwidth 0 -sashwidth 2 -sashpad 2
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20]
.p identify 26 -1
} -cleanup {
deleteWindows
@@ -5152,9 +5128,9 @@ test panedwindow-26.6 {PanedWindowIdentifyCoords} -setup {
test panedwindow-26.7 {PanedWindowIdentifyCoords} -setup {
deleteWindows
} -body {
- 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]
+ panedwindow .p -borderwidth 0 -sashwidth 2 -sashpad 2
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20]
.p identify 26 100
} -cleanup {
deleteWindows
@@ -5162,10 +5138,10 @@ test panedwindow-26.7 {PanedWindowIdentifyCoords} -setup {
test panedwindow-26.8 {PanedWindowIdentifyCoords} -setup {
deleteWindows
} -body {
- panedwindow .p -bd 0 -sashwidth 2 -sashpad 2 -showhandle 1 -handlepad 5 \
+ panedwindow .p -borderwidth 0 -sashwidth 2 -sashpad 2 -showhandle 1 -handlepad 5 \
-handlesize 6
- .p add [frame .f -bg red -width 20 -height 20] \
- [frame .f2 -bg blue -width 20 -height 20]
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20]
.p identify 22 4
} -cleanup {
deleteWindows
@@ -5173,10 +5149,10 @@ test panedwindow-26.8 {PanedWindowIdentifyCoords} -setup {
test panedwindow-26.9 {PanedWindowIdentifyCoords} -setup {
deleteWindows
} -body {
- panedwindow .p -bd 0 -sashwidth 2 -sashpad 2 -showhandle 1 -handlepad 5 \
+ panedwindow .p -borderwidth 0 -sashwidth 2 -sashpad 2 -showhandle 1 -handlepad 5 \
-handlesize 6
- .p add [frame .f -bg red -width 20 -height 20] \
- [frame .f2 -bg blue -width 20 -height 20]
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20]
.p identify 22 5
} -cleanup {
deleteWindows
@@ -5184,10 +5160,10 @@ test panedwindow-26.9 {PanedWindowIdentifyCoords} -setup {
test panedwindow-26.10 {PanedWindowIdentifyCoords} -setup {
deleteWindows
} -body {
- panedwindow .p -bd 0 -sashwidth 2 -sashpad 2 -showhandle 1 -handlepad 5 \
+ panedwindow .p -borderwidth 0 -sashwidth 2 -sashpad 2 -showhandle 1 -handlepad 5 \
-handlesize 8
- .p add [frame .f -bg red -width 20 -height 20] \
- [frame .f2 -bg blue -width 20 -height 20]
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20]
.p identify 20 5
} -cleanup {
deleteWindows
@@ -5195,10 +5171,10 @@ test panedwindow-26.10 {PanedWindowIdentifyCoords} -setup {
test panedwindow-26.11 {PanedWindowIdentifyCoords} -setup {
deleteWindows
} -body {
- panedwindow .p -bd 0 -sashwidth 2 -sashpad 2 -showhandle 1 -handlepad 5 \
+ panedwindow .p -borderwidth 0 -sashwidth 2 -sashpad 2 -showhandle 1 -handlepad 5 \
-handlesize 8
- .p add [frame .f -bg red -width 20 -height 20] \
- [frame .f2 -bg blue -width 20 -height 20]
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20]
.p identify 20 0
} -cleanup {
deleteWindows
@@ -5206,10 +5182,10 @@ test panedwindow-26.11 {PanedWindowIdentifyCoords} -setup {
test panedwindow-26.12 {PanedWindowIdentifyCoords} -setup {
deleteWindows
} -body {
- panedwindow .p -showhandle false -bd 0 -sashwidth 2 -sashpad 2
- .p add [frame .f -bg red -width 20 -height 20] \
- [frame .f2 -bg blue -width 20 -height 20] \
- [frame .f3 -bg green -width 20 -height 20]
+ panedwindow .p -showhandle false -borderwidth 0 -sashwidth 2 -sashpad 2
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20] \
+ [frame .f3 -background green -width 20 -height 20]
.p identify 48 0
} -cleanup {
deleteWindows
@@ -5241,9 +5217,9 @@ test panedwindow-26.15 {identify subcommand errors} -setup {
test panedwindow-26.16 {PanedWindowIdentifyCoords} -setup {
deleteWindows
} -body {
- panedwindow .p -bd 0 -sashwidth 2 -sashpad 2 -orient vertical
- .p add [frame .f -bg red -width 20 -height 20] \
- [frame .f2 -bg blue -width 20 -height 20]
+ panedwindow .p -borderwidth 0 -sashwidth 2 -sashpad 2 -orient vertical
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20]
.p identify 0 0
} -cleanup {
deleteWindows
@@ -5251,9 +5227,9 @@ test panedwindow-26.16 {PanedWindowIdentifyCoords} -setup {
test panedwindow-26.17 {PanedWindowIdentifyCoords, padding is included} -setup {
deleteWindows
} -body {
- panedwindow .p -bd 0 -sashwidth 2 -sashpad 2 -orient vertical
- .p add [frame .f -bg red -width 20 -height 20] \
- [frame .f2 -bg blue -width 20 -height 20]
+ panedwindow .p -borderwidth 0 -sashwidth 2 -sashpad 2 -orient vertical
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20]
.p identify 0 20
} -cleanup {
deleteWindows
@@ -5261,9 +5237,9 @@ test panedwindow-26.17 {PanedWindowIdentifyCoords, padding is included} -setup {
test panedwindow-26.18 {PanedWindowIdentifyCoords} -setup {
deleteWindows
} -body {
- panedwindow .p -bd 0 -sashwidth 2 -sashpad 2 -orient vertical
- .p add [frame .f -bg red -width 20 -height 20] \
- [frame .f2 -bg blue -width 20 -height 20]
+ panedwindow .p -borderwidth 0 -sashwidth 2 -sashpad 2 -orient vertical
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20]
.p identify 0 22
} -cleanup {
deleteWindows
@@ -5271,9 +5247,9 @@ test panedwindow-26.18 {PanedWindowIdentifyCoords} -setup {
test panedwindow-26.19 {PanedWindowIdentifyCoords} -setup {
deleteWindows
} -body {
- panedwindow .p -bd 0 -sashwidth 2 -sashpad 2 -orient vertical
- .p add [frame .f -bg red -width 20 -height 20] \
- [frame .f2 -bg blue -width 20 -height 20]
+ panedwindow .p -borderwidth 0 -sashwidth 2 -sashpad 2 -orient vertical
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20]
.p identify 0 24
} -cleanup {
deleteWindows
@@ -5281,9 +5257,9 @@ test panedwindow-26.19 {PanedWindowIdentifyCoords} -setup {
test panedwindow-26.20 {PanedWindowIdentifyCoords} -setup {
deleteWindows
} -body {
- panedwindow .p -bd 0 -sashwidth 2 -sashpad 2 -orient vertical
- .p add [frame .f -bg red -width 20 -height 20] \
- [frame .f2 -bg blue -width 20 -height 20]
+ panedwindow .p -borderwidth 0 -sashwidth 2 -sashpad 2 -orient vertical
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20]
.p identify 0 26
} -cleanup {
deleteWindows
@@ -5291,9 +5267,9 @@ test panedwindow-26.20 {PanedWindowIdentifyCoords} -setup {
test panedwindow-26.21 {PanedWindowIdentifyCoords} -setup {
deleteWindows
} -body {
- panedwindow .p -bd 0 -sashwidth 2 -sashpad 2 -orient vertical
- .p add [frame .f -bg red -width 20 -height 20] \
- [frame .f2 -bg blue -width 20 -height 20]
+ panedwindow .p -borderwidth 0 -sashwidth 2 -sashpad 2 -orient vertical
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20]
.p identify -1 26
} -cleanup {
deleteWindows
@@ -5301,9 +5277,9 @@ test panedwindow-26.21 {PanedWindowIdentifyCoords} -setup {
test panedwindow-26.22 {PanedWindowIdentifyCoords} -setup {
deleteWindows
} -body {
- panedwindow .p -bd 0 -sashwidth 2 -sashpad 2 -orient vertical
- .p add [frame .f -bg red -width 20 -height 20] \
- [frame .f2 -bg blue -width 20 -height 20]
+ panedwindow .p -borderwidth 0 -sashwidth 2 -sashpad 2 -orient vertical
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20]
.p identify 100 26
} -cleanup {
deleteWindows
@@ -5311,10 +5287,10 @@ test panedwindow-26.22 {PanedWindowIdentifyCoords} -setup {
test panedwindow-26.23 {PanedWindowIdentifyCoords} -setup {
deleteWindows
} -body {
- panedwindow .p -bd 0 -sashwidth 2 -sashpad 2 -showhandle 1 -handlepad 5 \
+ panedwindow .p -borderwidth 0 -sashwidth 2 -sashpad 2 -showhandle 1 -handlepad 5 \
-handlesize 6 -orient vertical
- .p add [frame .f -bg red -width 20 -height 20] \
- [frame .f2 -bg blue -width 20 -height 20]
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20]
.p identify 4 22
} -cleanup {
deleteWindows
@@ -5322,10 +5298,10 @@ test panedwindow-26.23 {PanedWindowIdentifyCoords} -setup {
test panedwindow-26.24 {PanedWindowIdentifyCoords} -setup {
deleteWindows
} -body {
- panedwindow .p -bd 0 -sashwidth 2 -sashpad 2 -showhandle 1 -handlepad 5 \
+ panedwindow .p -borderwidth 0 -sashwidth 2 -sashpad 2 -showhandle 1 -handlepad 5 \
-handlesize 6 -orient vertical
- .p add [frame .f -bg red -width 20 -height 20] \
- [frame .f2 -bg blue -width 20 -height 20]
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20]
.p identify 5 22
} -cleanup {
deleteWindows
@@ -5333,10 +5309,10 @@ test panedwindow-26.24 {PanedWindowIdentifyCoords} -setup {
test panedwindow-26.25 {PanedWindowIdentifyCoords} -setup {
deleteWindows
} -body {
- panedwindow .p -bd 0 -sashwidth 2 -sashpad 2 -showhandle 1 -handlepad 5 \
+ panedwindow .p -borderwidth 0 -sashwidth 2 -sashpad 2 -showhandle 1 -handlepad 5 \
-handlesize 8 -orient vertical
- .p add [frame .f -bg red -width 20 -height 20] \
- [frame .f2 -bg blue -width 20 -height 20]
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20]
.p identify 5 20
} -cleanup {
deleteWindows
@@ -5344,10 +5320,10 @@ test panedwindow-26.25 {PanedWindowIdentifyCoords} -setup {
test panedwindow-26.26 {PanedWindowIdentifyCoords} -setup {
deleteWindows
} -body {
- panedwindow .p -bd 0 -sashwidth 2 -sashpad 2 -showhandle 1 -handlepad 5 \
+ panedwindow .p -borderwidth 0 -sashwidth 2 -sashpad 2 -showhandle 1 -handlepad 5 \
-handlesize 8 -orient vertical
- .p add [frame .f -bg red -width 20 -height 20] \
- [frame .f2 -bg blue -width 20 -height 20]
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20]
.p identify 0 20
} -cleanup {
deleteWindows
@@ -5355,16 +5331,15 @@ test panedwindow-26.26 {PanedWindowIdentifyCoords} -setup {
test panedwindow-26.27 {PanedWindowIdentifyCoords} -setup {
deleteWindows
} -body {
- panedwindow .p -showhandle false -bd 0 -sashwidth 2 -sashpad 2 -orient vertical
- .p add [frame .f -bg red -width 20 -height 20] \
- [frame .f2 -bg blue -width 20 -height 20] \
- [frame .f3 -bg green -width 20 -height 20]
+ panedwindow .p -showhandle false -borderwidth 0 -sashwidth 2 -sashpad 2 -orient vertical
+ .p add [frame .f -background red -width 20 -height 20] \
+ [frame .f2 -background blue -width 20 -height 20] \
+ [frame .f3 -background green -width 20 -height 20]
.p identify 0 48
} -cleanup {
deleteWindows
} -result {1 sash}
-
test panedwindow-27.1 {destroy the window cleanly on error [Bug #616589]} -setup {
deleteWindows
} -body {
@@ -5383,13 +5358,12 @@ test panedwindow-27.2 {destroy the window cleanly on rename [Bug #616589]} -setu
deleteWindows
} -result {0}
-
test panedwindow-28.1 {resizing width} -setup {
deleteWindows
} -body {
- panedwindow .p -bd 5
- frame .f1 -width 100 -height 50 -bg blue
- frame .f2 -width 100 -height 50 -bg red
+ panedwindow .p -borderwidth 5
+ frame .f1 -width 100 -height 50 -background blue
+ frame .f2 -width 100 -height 50 -background red
.p add .f1 -sticky news
.p add .f2 -sticky news
@@ -5410,9 +5384,9 @@ test panedwindow-28.1 {resizing width} -setup {
test panedwindow-28.2 {resizing height} -setup {
deleteWindows
} -body {
- panedwindow .p -orient vertical -bd 5
- frame .f1 -width 50 -height 100 -bg blue
- frame .f2 -width 50 -height 100 -bg red
+ panedwindow .p -orient vertical -borderwidth 5
+ frame .f1 -width 50 -height 100 -background blue
+ frame .f2 -width 50 -height 100 -background red
.p add .f1 -sticky news
.p add .f2 -sticky news
@@ -5430,7 +5404,6 @@ test panedwindow-28.2 {resizing height} -setup {
deleteWindows
} -result {100 110}
-
test panedwindow-29.1 {display on depths other than the default one} -constraints {
pseudocolor8 haveTruecolor24
} -setup {