C4 Engine
C4 Engine API Documentation

TableWidget::GetPreviousSelectedTableItem

Defined in:  C4Widgets.h
Returns the previous selected item in a table.
Prototype

Widget *GetPreviousSelectedTableItem(const Widget *widget) const;

Parameters
widget A pointer to a selected item for which the previous selected item is returned.
Description
The GetPreviousSelectedTableItem function returns a pointer to the selected table item that precedes the selected item specified by the widget parameter. If there is no previous selected item (i.e., the item specified by widget is the first selected item), then the return value is nullptr.
See Also

TableWidget::GetNextSelectedTableItem

TableWidget::GetFirstSelectedTableItem

TableWidget::GetLastSelectedTableItem

TableWidget::GetSelectedTableItem

TableWidget::GetSelectedTableItemCount