Update to tk 8.5.19

This commit is contained in:
Zachary Ware
2017-11-24 17:53:51 -06:00
parent 27e7dfc7da
commit c67b328f06
325 changed files with 12511 additions and 12047 deletions

View File

@@ -468,6 +468,27 @@ test notebook-1817596-3 "insert/configure" -body {
} -result [list [list .nb.l2 .nb.l0 .nb.l1] L2 L0 L1] -cleanup { destroy .nb }
test notebook-readd-1 "add same widget twice" -body {
pack [ttk::notebook .nb]
.nb add [ttk::button .nb.b1] -text "Button"
.nb add .nb.b1
.nb tabs
} -result [list .nb.b1] -cleanup { destroy .nb }
test notebook-readd-2 "add same widget twice, with options" -body {
pack [ttk::notebook .nb]
.nb add [ttk::button .nb.b1] -text "Tab label"
.nb add .nb.b1 -text "Changed tab label"
.nb tabs
} -result [list .nb.b1] -cleanup { destroy .nb }
test notebook-readd-3 "insert same widget twice, with options" -body {
pack [ttk::notebook .nb]
.nb insert end [ttk::button .nb.b1] -text "Tab label"
.nb insert end .nb.b1 -text "Changed tab label"
.nb tabs
} -result [list .nb.b1] -cleanup { destroy .nb }
# See #1343984
test notebook-1343984-1 "don't autoselect on destroy - setup" -body {

View File

@@ -143,8 +143,8 @@ test spinbox-1.8.4 "-validate option: " -setup {
.sb configure -validate all -validatecommand {lappend ::spinbox_test %P}
pack .sb
.sb set 50
focus .sb
after 100 {set ::spinbox_wait 1} ; vwait ::spinbox_wait
focus -force .sb
after 500 {set ::spinbox_wait 1} ; vwait ::spinbox_wait
set ::spinbox_test
} -cleanup {
destroy .sb