Tkinter newbie question

Fredrik Lundh fredrik at
Wed Dec 13 12:15:24 EST 2000

Samuel A. Falvo II wrote:
> I've set up a basic user interface using Tkinter.  One of the controls is a
> listbox.  However, I cannot find any documentation on how to read the
> current state of the listbox (e.g., what, if any, items are currently
> selected).

selection = list.curselection()

for more info, see
=> patterns (and methods)


<!-- (the eff-bot guide to) the standard python library:

More information about the Python-list mailing list