Used to add one or more strings into a wxListBox, wxComboBox, or wxChoice. text can be either a string, or a sequence of strings, in which case all of the items will be added.
This is also used to enter one or more string, bitmap sequences into a wxBitmapComboBox.
Clears all items from a wxListBox, wxListCtrl, wxChoice or wxComboBox.
Delete an item from a wxListBox, wxListCtrl, wxComboBox or wxChoice.
Returns the index of specified item string
Returns the text label of the list item
This function works for both wxListCtrl and wxListBox.
Returns the selected index(es) of the control
Used to get the index of the selected item of a wxListBox, wxListCtrl, wxComboBox wxChoice, or wxMultiChoiceDialog. For the case of a wxListBox or wxMultiChoiceDialog. The return is always a sequence, or an empty sequence, if nothing is selected. The other types of controls return -1 is no item is selected.
Returns the text of selected item
Used to get the text of the selected item of a wxListBox, wxComboBox or wxChoice.
Inserts the item into the list before position. Not valid for wxLB_SORT or wxCB_SORT styles, use add_item instead.
To unselect a wxListBox item, the item parameter should be a sequence: {item_number, -1}. To unselect a wxListCtrl item, item should be {item_number, 0}. To select items for a wxMultiChoiceDialog, item should be either an index number starting from zero, or a sequence of indexes.
Set the string of an item in a wxListBox, wxComboBox or wxChoice.