Gets a list of the currently selected alternatives. The list contains the indexes of the selected alternatives (beginning with 0 for the first alternative in the list).
In most Python versions, the list contains strings instead of integers. Since this may change in future versions, you should make sure your code can handle either case. See the patterns section for a suggested solution.
是的
是的,可能吧
如果我没听错的话,这就是它的工作原理。引用http://effbot.org/tkinterbook/listbox.htm#Tkinter.Listbox.curselection-method:
相关问题 更多 >
编程相关推荐