ListWidget::GetListItem
Defined in:
Returns the list item with a specific index.
C4Widgets.h
Prototype
Widget *GetListItem(int32 index) const;
Parameters
index |
The index of the list item to return, where the first list item has the index 0. |
Description
The GetListItem
function returns a pointer to the list item whose zero-based index is specified by the index
parameter. If the value of index
is greater than or equal to the number of items in the list (or if index
is negative), then the return value is nullptr
.
See Also