code: def cget(self, key):
          
          if key == 'scalewidth':
              return self._scale.cget('length')
          elif key == 'from':
              return self._scale.cget('from')
          elif key == 'to':
              return self._scale.cget('to')
          elif key == 'entrywidth':
              return self._entry.cget('width')
          elif key == 'entryscalepad':
              return self.__entryscalepad
          elif key == 'compound':
              return self.__compound
          elif key == 'orient':
              return str(self._scale.cget('orient'))
          else:
              return ttk.Frame.cget(self, 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:`~ScaleEntry.keys`.