

def window_configure(self, index, option=None, **kwargs):
    'Query or modify options associated with the embedded window given\n        by index. This should also be used to add a new embedded window into\n        the table.\n\n        If no option is specified, a dict describing all of the available\n        options for index is returned. If option is specified, then the\n        command returns a list describing the one named option. Lastly, if\n        kwargs is given then it corresponds to option-value pairs that should\n        be modified.'
    if ((option is None) and (not kwargs)):
        return self.tk.call(self._w, 'window', 'configure', index)
    elif option:
        return self.tk.call(self._w, 'window', 'configure', index, ('-%s' % option))
    else:
        args = ()
        for (key, val) in kwargs.items():
            args += (('-%s' % key), val)
        self.tk.call(self._w, 'window', 'configure', index, *args)

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