def width(self, column=None, **kwargs):
        if column is None and not kwargs:
            pairs = self.tk.splitlist(self.tk.call(self._w, 'width'))
            return dict(pair.split() for pair in pairs)
        elif column is not None:
            return int(self.tk.call(self._w, 'width', str(column)))

        args = tkinter._flatten(list(kwargs.items()))
        self.tk.call(self._w, 'width', *args)
If column and kwargs are not given, a dict describing all columns
dataset/ETHPy150Open Arelle/Arelle/arelle/TkTableWrapper.py/Table.width