ListItem.getSelected

bool getSelected()

Checks if the item is displayed as selected.

The selected state is maintained by the liste widget and its model and cannot be set otherwise.

Returns

true if the item is selected.