Imported Tk 8.6.9

This commit is contained in:
Steve Dower
2018-12-11 10:05:28 -08:00
parent 753ac6b037
commit 5ba5cbc9af
184 changed files with 6223 additions and 1994 deletions

View File

@@ -246,5 +246,35 @@ test packgrid-3.4 {stealing slave} -setup {
destroy .g
} -result {cannot use geometry manager grid inside . which already has slaves managed by pack}
test packgrid-4.1 {slave stolen after master destruction - bug [aa7679685e]} -setup {
frame .f
button .b -text hello
} -body {
pack .f
grid .b -in .f
destroy .f
set res [winfo manager .b]
# shall not crash
pack .b
set res
} -cleanup {
destroy .b
} -result {}
test packgrid-4.2 {slave stolen after master destruction - bug [aa7679685e]} -setup {
frame .f
button .b -text hello
} -body {
pack .f
pack .b -in .f
destroy .f
set res [winfo manager .b]
# shall not crash
grid .b
set res
} -cleanup {
destroy .b
} -result {}
cleanupTests
return