C4 Engine
C4 Engine API Documentation

ListWidget::GetFirstSelectedListItem

Defined in:  C4Widgets.h
Returns the first selected item in a list.
Prototype

Widget *GetFirstSelectedListItem(voidconst;

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

ListWidget::GetSelectedListItem

ListWidget::GetSelectedListItemCount