Hello out there,
I have a TkListbox with several items, and I'd like to change the
color for eg. the second item. How would I accomplish that? I can't
get the configure method to accept a value for the index, but this
seems to me the way to proceed. Any ideas?
Thanks,
Patrick
self follow-up:
I have a TkListbox with several items, and I'd like to change the
color for eg. the second item. How would I accomplish that? I can't
get the configure method to accept a value for the index, but this
seems to me the way to proceed. Any ideas?
The solution is to use
list.itemconfigure(index, :foreground => "red")
Sorry for the noise,
Patrick