in reply to Tk::BrowseEntry listbox scrollbar with Mousewheel on Windows
G'day perltux,
"... but despite trying various subwidget targets ..."
I often find checking the source code provides answers for this type of issue. In this case, &SetBindings, in http://cpansearch.perl.org/src/SREZIC/Tk-804.033/Tixish/BrowseEntry.pm, has:
... # bindings for listbox my $sl = $w->Subwidget('slistbox'); my $l = $sl->Subwidget('listbox'); $l->bind(...
I don't have MSWin to check your specific OS problem.
The DESCRIPTION of Tk::BrowseEntry starts:
"BrowseEntry is a poor man's ComboBox."
Instead of rolling your own bindings, and potentially other functionality, for Tk::BrowseEntry, perhaps consider using one of the more feature-rich widgets, such as Tk::JBrowseEntry or Tk::JComboBox.
— Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tk::BrowseEntry listbox scrollbar with Mousewheel on Windows
by perltux (Monk) on Apr 03, 2017 at 13:00 UTC |