Tkinter.Listbox.curselection

Listbox.curselection()[source]

Return the indices of currently selected item.