summaryrefslogtreecommitdiffstats
path: root/tests/listbox.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-07-18 13:22:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-07-18 13:22:20 (GMT)
commit92669afc02eb146a6c269b2952f6f3194c90a0fb (patch)
tree3e1eaa03308f89b1a636819f99d5f163a51e87e0 /tests/listbox.test
parent63d4fcc37a6c1a0627064685179c8d4ec97a0217 (diff)
downloadtk-92669afc02eb146a6c269b2952f6f3194c90a0fb.zip
tk-92669afc02eb146a6c269b2952f6f3194c90a0fb.tar.gz
tk-92669afc02eb146a6c269b2952f6f3194c90a0fb.tar.bz2
Listbox entries don't use option database for initialization, so let "itemconfigure" reflect that. Also improve documentation regarding TK_OPTION_DONT_SET_DEFAULT
Diffstat (limited to 'tests/listbox.test')
-rw-r--r--tests/listbox.test10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/listbox.test b/tests/listbox.test
index 6119b2e..6bd49ff 100644
--- a/tests/listbox.test
+++ b/tests/listbox.test
@@ -2830,12 +2830,12 @@ test listbox-23.2 {ConfigureListboxItem} -setup {
.l itemconfigure 0
} -cleanup {
destroy .l
-} -result [list {-background background Background {} {}} \
+} -result [list {-background {} {} {} {}} \
{-bg -background} \
{-fg -foreground} \
- {-foreground foreground Foreground {} {}} \
- {-selectbackground selectBackground Foreground {} {}} \
- {-selectforeground selectForeground Background {} {}}]
+ {-foreground {} {} {} {}} \
+ {-selectbackground {} {} {} {}} \
+ {-selectforeground {} {} {} {}}]
test listbox-23.3 {ConfigureListboxItem, itemco shortcut} -setup {
destroy .l
} -body {
@@ -2844,7 +2844,7 @@ test listbox-23.3 {ConfigureListboxItem, itemco shortcut} -setup {
.l itemco 0 -background
} -cleanup {
destroy .l
-} -result {-background background Background {} {}}
+} -result {-background {} {} {} {}}
test listbox-23.4 {ConfigureListboxItem, wrong num args} -setup {
destroy .l
} -body {