diff options
author | fvogel <fvogelnew1@free.fr> | 2016-08-29 15:28:20 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-08-29 15:28:20 (GMT) |
commit | 992eb3df2d03dec6291784e8dca7e6d85b279c7a (patch) | |
tree | c885db53fd7bd38e3971e2b93242b2e798961ee9 /tests/ttk/scrollbar.test | |
parent | 1052e56fe96f3ece407a6374714af0302c9a5e3c (diff) | |
parent | 76052445ac39afd2c455431d80335dd464ed755e (diff) | |
download | tk-tip_449.zip tk-tip_449.tar.gz tk-tip_449.tar.bz2 |
Rebased to trunk since TIP #449 was accepted for merging to trunk only, not to core-8-6-branchtip_449
Diffstat (limited to 'tests/ttk/scrollbar.test')
-rw-r--r-- | tests/ttk/scrollbar.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ttk/scrollbar.test b/tests/ttk/scrollbar.test index 0464273..1f8d158 100644 --- a/tests/ttk/scrollbar.test +++ b/tests/ttk/scrollbar.test @@ -9,8 +9,8 @@ test scrollbar-swapout-1 "Use core scrollbars on OSX..." -constraints { } -body { ttk::scrollbar .sb -command "yadda" list [winfo class .sb] [.sb cget -command] -} -result [list Scrollbar yadda] -cleanup { - destroy .sb +} -result [list Scrollbar yadda] -cleanup { + destroy .sb } test scrollbar-swapout-2 "... unless -style is specified ..." -constraints { @@ -18,7 +18,7 @@ test scrollbar-swapout-2 "... unless -style is specified ..." -constraints { } -body { ttk::style layout Vertical.Custom.TScrollbar \ [ttk::style layout Vertical.TScrollbar] ; # See #1833339 - ttk::scrollbar .sb -command "yadda" -style Custom.TScrollbar + ttk::scrollbar .sb -command "yadda" -style Custom.TScrollbar list [winfo class .sb] [.sb cget -command] [.sb cget -style] } -result [list TScrollbar yadda Custom.TScrollbar] -cleanup { destroy .sb @@ -27,7 +27,7 @@ test scrollbar-swapout-2 "... unless -style is specified ..." -constraints { test scrollbar-swapout-3 "... or -class." -constraints { coreScrollbar } -body { - ttk::scrollbar .sb -command "yadda" -class Custom.TScrollbar + ttk::scrollbar .sb -command "yadda" -class Custom.TScrollbar list [winfo class .sb] [.sb cget -command] } -result [list Custom.TScrollbar yadda] -cleanup { destroy .sb |