Tell me how to make an item in the Listbox widget static, inactive. For example, as in Button ATTRIBUTE state [NORMAL, DISABLED] . Listbox also has this attribute, but something does not work ... :(

1 answer 1

 from Tkinter import * l = Listbox(parent) l.configure(state=DISABLED) l.configure(state=NORMAL) 

Or l.config(state=

Well, if you need to ban a separate list item, it seems, alas. There are only four colors in the list of valid options for .itemconfigure: background, foreground, selectbackground, selectforeground.