ListWidget::SelectAllListItems
Defined in:
Selects all items in a list.
C4Widgets.h
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::GetFirstSelectedListItem
ListWidget::GetLastSelectedListItem
ListWidget::GetSelectedListItem