Gets the index of the selected item. In case of multi select, the index of the first selected item is returned. Returns -1 if nothing is selected.
Sets the current selection to the yth item in the list. Will emit ChangeEvent when complete.
not implemented yet
Sends a change event when the selection changes, but the data is not attached to the event. You must instead loop the options to see if they are selected.
In the future, items in the list may be possible to be more than just strings.
A list widget contains a list of strings that the user can examine and select.