code: def _on_scale(self, event):
          
          self._entry.delete(0, tk.END)
          self._entry.insert(0, str(self._variable.get()))
docs: Callback for the Scale widget, inserts an int value into the Entry.
  
          :param event: Tkinter event