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
int
GetSelectedItem
()
Returns
Returns the selected widget item.