C4 Engine
C4 Engine API Documentation

TableWidget::SelectAllTableItems

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

void SelectAllTableItems(bool post = false);

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

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

TableWidget::UnselectAllTableItems

TableWidget::SelectTableItem

TableWidget::UnselectTableItem

TableWidget::GetFirstSelectedTableItem

TableWidget::GetLastSelectedTableItem

TableWidget::GetSelectedTableItem

TableWidget::GetSelectedTableItemCount

TableWidget::GetTableItemCount

TableWidget::GetTableFlags

TableWidget::SetTableFlags

TableWidget::RevealTableItem