diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-11-19 09:02:56 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-11-19 09:02:56 (GMT) |
commit | 438c452e138ae039893d7b8274a637fca2168f78 (patch) | |
tree | f817d7fc68ef9905697cc7d3afcec0013c8f0514 /tests/ttk/spinbox.test | |
parent | 112fdb000f8632e92519ab4842b0ff340aec52ab (diff) | |
parent | 37279b8ec55cb993d441216c9b90e5668146e4c7 (diff) | |
download | tk-438c452e138ae039893d7b8274a637fca2168f78.zip tk-438c452e138ae039893d7b8274a637fca2168f78.tar.gz tk-438c452e138ae039893d7b8274a637fca2168f78.tar.bz2 |
Merge 8.7
Diffstat (limited to 'tests/ttk/spinbox.test')
-rw-r--r-- | tests/ttk/spinbox.test | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/ttk/spinbox.test b/tests/ttk/spinbox.test index a2b8558..abd2a0f 100644 --- a/tests/ttk/spinbox.test +++ b/tests/ttk/spinbox.test @@ -358,6 +358,20 @@ test spinbox-dieoctaldie-2 "Cope with general bad input" -body { destroy .sb } +test spinbox-5.1 "style command" -body { + ttk::spinbox .w + list [.w cget -style] [.w style] [winfo class .w] +} -cleanup { + destroy .w +} -result {{} TSpinbox TSpinbox} +test spinbox-5.2 "style command" -body { + ttk::style configure customStyle.TSpinbox + ttk::spinbox .w -style customStyle.TSpinbox + list [.w cget -style] [.w style] [winfo class .w] +} -cleanup { + destroy .w +} -result {customStyle.TSpinbox customStyle.TSpinbox TSpinbox} + tcltest::cleanupTests # Local variables: |