getSelected

open fun getSelected(): Boolean

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.

Return

true if the item is selected.