C4 Engine
C4 Engine API Documentation

ListWidget::GetNextSelectedListItem

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

Widget *GetNextSelectedListItem(const Widget *widget) const;

Parameters
widget A pointer to a selected item for which the next selected item is returned.
Description
The GetNextSelectedListItem function returns a pointer to the selected list item that follows the selected item specified by the widget parameter. If there is no next selected item (i.e., the item specified by widget is the last selected item), then the return value is nullptr.
See Also

ListWidget::GetPreviousSelectedListItem

ListWidget::GetFirstSelectedListItem

ListWidget::GetLastSelectedListItem

ListWidget::GetSelectedListItem

ListWidget::GetSelectedListItemCount