On 03/10/2011 03:28 PM, Richard Holmes wrote: > I am trying to use the mouse wheel to scroll a list box, but I'm not > getting the event. When I bind "<Button-1>" to the listbox I get the > event and I'm able to scroll using yview_scroll. I've tried binding > "MouseWheel" and "<MouseWheel>", and I've also tried "<Button-4>" and > "<Button-5>" even though I'm using Windows (XP, if that makes a > difference). None of these works (I'm using print to see if I got to > an event handler, and there's no printout). > > TIA for any help! > > Dick
Middle button is Button-3 IIRC, and I think it'd be MouseUp and MouseDown. I'm really not sure though. -- Corey Richardson -- http://mail.python.org/mailman/listinfo/python-list