title: Tkinter - Get the name and value of scale/slider
body: <p>I'm trying to get the name of the scale/slider when the scale/slider value changes. I've managed to get the value of scale by using:</p>
  
  <pre><code>self.slider = tk.Scale(self.root, from_=0, to=100, 
                             orient="horizontal")
          self.slider.bind("&lt;ButtonRelease-1&gt;", self.updateValue)
  </code></pre>
  
  <p>and:</p>
  
  <p><code>def updateValue(self, event):
          print self.slider.getName()</code> </p>
  
  <p>I would like to do it like it's done in java, something like:</p>
  
  <pre><code>JSlider object = (JSlider) evt.getSource();
  </code></pre>
  
  <p>So that I could get the name and value of the scale.
  Is there a way to do this in python?</p>