Hello,
I’ve spent the last few hours trying to figure this out.
I have a TkListbox, and I’d like to take an action when the user clicks on
a list entry. There are two ways that this might be possible:
- Bind each entry to a callback.
- Bind the list box to a callback and then find the entry that is
highlighted.
If anyone knows how to do either of these two things, I would really like
to know. I can bind the list box, but I haven’t managed to get any useful
information from the event widget. I have no idea how I can bind a
particular entry.
If anyone knows where I can find good documentation, I would really
appreciate it. All I’ve found is a short tutorial, which doesn’t answer
my particular question.
Thanks for the help.
···
–
Daniel Carrera
Graduate Teaching Assistant. Math Dept.
University of Maryland. (301) 405-5137