code: def configure(self, cnf={}, **kw):
          
          kw.update(cnf)
          reinit = False
          if 'scalewidth' in kw:
              self._scale.configure(length=kw.pop('scalewidth'))
          if 'from' in kw:
              from_ = kw.pop('from')
              self._scale.configure(from_=from_)
              self._variable.configure(low=from_)
          if 'from_' in kw:
              from_ = kw.pop('from_')
              self._scale.configure(from_=from_)
              self._variable.configure(low=from_)
          if 'to' in kw:
              to = kw.pop('to')
              self._scale.configure(to=to)
              self._variable.configure(high=to)
          if 'entrywidth' in kw:
              self._entry.configure(width=kw.pop('entrywidth'))
          if 'compound' in kw:
              compound = kw.pop('compound')
              if compound is not tk.RIGHT and compound is not tk.LEFT and \
                 compound is not tk.TOP and compound is not tk.BOTTOM:
                  raise ValueError("Invalid value for compound passed {0}".format(compound))
              else:
                  self.__compound = compound
                  reinit = True
          if 'orient' in kw:
              self._scale.configure(orient=kw.pop('orient'))
              reinit = True
          if 'entryscalepad' in kw:
              entryscalepad = kw.pop('entryscalepad')
              try:
                  self.__entryscalepad = int(entryscalepad)
                  reinit = True
              except ValueError:
                  raise ValueError("Invalid value for entryscalepad passed {0}".format(entryscalepad))
          ttk.Frame.configure(self, kw)
          if reinit:
              self._grid_widgets()
docs: Configure resources of the widget.
  
          To get the list of options for this widget, call the method :meth:`~ScaleEntry.keys`.
          See :meth:`~ScaleEntry.__init__` for a description of the widget specific option.