C4 Engine
C4 Engine API Documentation

ListWidget::GetLastListItem

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

Widget *GetLastListItem(voidconst;

Description
The GetLastListItem function returns a pointer to the last item in a list. If the list is empty, then the return value is nullptr. The remaining items in a list can be iterated by calling the Tree::GetPreviousSubnode function for the returned widget.
See Also

ListWidget::GetFirstListItem

ListWidget::GetListItem

ListWidget::GetListItemCount