'Internal function.'

@property
def _windowingsystem(self):

    try:
        return self._root()._windowingsystem_cached
    except AttributeError:
        ws = self._root()._windowingsystem_cached = self.tk.call('tk', 'windowingsystem')
        return ws
