Answer the question
In order to leave comments, you need to log in
How to check listbox tkinter?
Hello.
Started disassembling Tkinter, decided to write a small program, ran into a problem. I don't know how to check a SPECIFIC listbox.
Found a universal method: root.bind('<<ListboxSelect>>', check)
Well, the output of the index:
def check(event):
print event.widget.curselection()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question