Is there one method that returns a list of items contained in a wxPython listBox?
I cannot find anything in the documentation or anywhere else for that matter. All I can do is set the selection to all the elements and then get the selected elements, although it seems like an ugly roundabout way to do something that should be simple.
Update:
As jeremy pointed out, the way to do this is with GetStrings()
eg.
listBoxList = yourListBox.GetStrings()
source
share