GetSelectedItem

This function gets the index of the currently selected widget item. The default selected item is -1, meaning that no item is selected.

Syntax

Returns

Returns the selected widget item.