C4 Engine
C4 Engine API Documentation

ListWidget::GetLastSelectedListItem

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

Widget *GetLastSelectedListItem(voidconst;

Description
The GetLastSelectedListItem function returns a pointer to the last 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::GetPreviousSelectedListItem function for the returned widget.
See Also

ListWidget::GetPreviousSelectedListItem

ListWidget::GetNextSelectedListItem

ListWidget::GetFirstSelectedListItem

ListWidget::GetSelectedListItem

ListWidget::GetSelectedListItemCount