Import Tk 8.6.8
This commit is contained in:
@@ -45,6 +45,15 @@ test combobox-2.4 "current -- value not in list" -body {
|
||||
|
||||
test combobox-2.end "Cleanup" -body { destroy .cb }
|
||||
|
||||
test combobox-3 "Read postoffset value dynamically from current style" -body {
|
||||
ttk::combobox .cb -values [list a b c] -style "DerivedStyle.TCombobox"
|
||||
pack .cb -expand true -fill both
|
||||
ttk::style configure DerivedStyle.TCombobox -postoffset [list 25 0 0 0]
|
||||
ttk::combobox::Post .cb
|
||||
expr {[winfo rootx .cb.popdown] - [winfo rootx .cb]}
|
||||
} -result 25 -cleanup {
|
||||
destroy .cb
|
||||
}
|
||||
|
||||
test combobox-1890211 "ComboboxSelected event after listbox unposted" -body {
|
||||
# whitebox test...
|
||||
|
||||
Reference in New Issue
Block a user