![]() |
|
Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^3: Tk::BrowseEntry listbox scrollbar with Mousewheel on Windowsby beech (Parson) |
on Apr 03, 2017 at 18:47 UTC ( [id://1186875]=note: print w/replies, xml ) | Need Help?? |
Hi, What did I miss? You only want to yview and not select? Can you not copy WheelsUp and do yview instead of updown? update: If you remove your bind call and replace it with $mw->focusFollowsMouse; then the Tk::Listbox natural wheel bindings work to scroll the listbox up down without changing the selection But if focusFollowsMouse is too much focus flipping, simply give the focus to the listbox when the button is pressed
Also, $mw->WidgetDump can help you peek inside
In Section
Seekers of Perl Wisdom
|
|