C4 Engine
C4 Engine API Documentation

TableWidget::GetLastSelectedTableItem

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

Widget *GetLastSelectedTableItem(voidconst;

Description
The GetLastSelectedTableItem function returns a pointer to the last selected item in a table. If there are no selected items in the table, then the return value is nullptr. The remaining selected items in a table can be iterated by calling the TableWidget::GetPreviousSelectedTableItem function for the returned widget.
See Also

TableWidget::GetPreviousSelectedTableItem

TableWidget::GetNextSelectedTableItem

TableWidget::GetFirstSelectedTableItem

TableWidget::GetSelectedTableItem

TableWidget::GetSelectedTableItemCount