def state(self, statespec=None):
        if statespec is not None:
            statespec = ' '.join(statespec)

        return self.tk.splitlist(str(self.tk.call(self._w, "state", statespec)))
Modify or inquire widget state.
dataset/ETHPy150Open francelabs/datafari/windows/python/Lib/lib-tk/ttk.py/Widget.state