selected_item method

selected_item

Sets whether the item is selected

def selected_item(self, item_index, is_selected):
    ...
ParameterTypeDescription
item_indexintThe item index
is_selectedboolWhether the item is selected.
True means that this item should be selected.
False means that this item should be unselected.

See Also