

def curselection(self, value=None):
    'With no arguments, it returns the sorted indices of the currently\n        selected cells. Otherwise it sets all the selected cells to the given\n        value if there is an associated ArrayVar and the state is not\n        disabled.'
    result = self.tk.call(self._w, 'curselection', value)
    if (value is None):
        return result

dataset/ETHPy150Open Arelle/Arelle/arelle/TkTableWrapper.py Table.curselection/original