ListWidget::GetFirstSelectedListItem
Defined in:
Returns the first selected item in a list.
C4Widgets.hPrototype
Widget *GetFirstSelectedListItem(void) const;
Description
The GetFirstSelectedListItem function returns a pointer to the first selected item in a list. If there are no selected items in the list, then the return value is nullptr. The remaining selected items in a list can be iterated by calling the ListWidget::GetNextSelectedListItem function for the returned widget.
See Also
ListWidget::GetNextSelectedListItem
ListWidget::GetPreviousSelectedListItem
ListWidget::GetLastSelectedListItem
