TableWidget::SelectAllTableItems
Defined in:
Selects all items in a table.
C4Widgets.h
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::UnselectTableItem
TableWidget::GetFirstSelectedTableItem
TableWidget::GetLastSelectedTableItem
TableWidget::GetSelectedTableItem
TableWidget::GetSelectedTableItemCount