C4 Engine
C4 Engine API Documentation

ListWidget::GetFirstListItem

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

Widget *GetFirstListItem(voidconst;

Description
The GetFirstListItem function returns a pointer to the first 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::GetNextSubnode function for the returned widget.
See Also

ListWidget::GetLastListItem

ListWidget::GetListItem

ListWidget::GetListItemCount