C4 Engine
C4 Engine API Documentation

ListWidget::SelectAllListItems

Defined in:  C4Widgets.h
Selects all items in a list.
Prototype

void SelectAllListItems(bool post = false);

Parameters
post Indicates whether to post a kEventWidgetChange event.
Description
The SelectAllListItems function selects all of the items in a list. If any list items were previously not selected and the post parameter is true, then the list widget posts a kEventWidgetChange event that can be handled by its observers.

If the kListMultipleSelection is not set for the list widget, then only the first item in the list is selected, and an event is posted only if this changes the current selection.
See Also

ListWidget::UnselectAllListItems

ListWidget::SelectListItem

ListWidget::UnselectListItem

ListWidget::GetFirstSelectedListItem

ListWidget::GetLastSelectedListItem

ListWidget::GetSelectedListItem

ListWidget::GetSelectedListItemCount

ListWidget::GetListItemCount

ListWidget::GetListFlags

ListWidget::SetListFlags

ListWidget::RevealListItem