title: Binding method with multiple arguments to <<ListboxSelect>>
body: <p>Trying to make a method execute on the selection of an item in a tkinter listbox. I can bind some function to is using <code>.bind("&lt;&lt;ListboxSelect&gt;&gt;", method)</code>, but if i try to give any arguments to it, like <code>method(argumentone, argumenttwo)</code>, the method no longer executes on the selection of an item from the listbox. It is however executed at startup when Mainloop starts. Furthermore, giving arguments to a method is problematic, as i cant pass the event argument already passed to any bound method, as it is not assigned to any variable beforehand. I'd like to be able to pass the event and one other variable to some method ideally. Any help on achieving this would be very welcome. Some example code of what I'm trying to achieve</p>
  
  <pre><code>def onSelection(event, foo):
      widget = event.widget
      print(widget.curselection())
      print(foo)
  
  
  sam = "sam"
  chars = Listbox(main)
  chars.insert(someList)
  chars.bind("&lt;&lt;ListboxSelect&gt;&gt;", onSelection(evt, sam))
  </code></pre>
  
  <p>Note that this code doesn't work. evt isn't defined.</p>