code: def cget(self, key):
          
          if key == 'showvalue':
              return self._showvalue
          elif key == 'tickinterval':
              return self._tickinterval
          elif key == 'tickpos':
              return self._tickpos
          elif key == 'labelpos':
              return self._labelpos
          elif key == 'digits':
              return self._digits
          elif key == 'resolution':
              return self._resolution
          else:
              return self.scale.cget(key)
docs: Query widget option.
  
          :param key: option name
          :type key: str
          :return: value of the option
  
          To get the list of options for this widget, call the method :meth:`~TickScale.keys`.