

def item_selected(self, list_view, item, index):
    index.state = 'selected'
    self.top_label.text = str(item)
    self.show_list(False)
    self.on_selection_changed(list_view, item, index)

dataset/ETHPy150Open fictorial/pygameui/pygameui/select.py SelectView.item_selected/VarMisuse@16/19 `item`->`index`