Documentation
›
API Reference
›
Object
›
Widget
GetSelectedItem
Lua
C++
This function gets the index of the currently selected widget item. The default selected item is -1, meaning that no item is selected.
Syntax
number
GetSelectedItem
()
Returns
Returns the selected widget item.