TableWidget::GetSelectedTableItem
Defined in:
Returns the selected table item with a specific index.
C4Widgets.h
Prototype
Widget *GetSelectedTableItem(int32 index) const;
Parameters
index |
The index of the selected table item to return, where the first selected table item has the index 0. |
Description
The GetSelectedTableItem
function returns a pointer to the selected table item whose zero-based index among all selected table items is specified by the index
parameter. If the value of index
is greater than or equal to the number of selected items in the table (or if index
is negative), then the return value is nullptr
.Selected table items are indexed in the order in which they appear in the table, and not in the order in which they were selected.
See Also
TableWidget::GetFirstSelectedTableItem