| Description: |
versions: 1.6 and 1.7
Tcl: TclKit 8.4.5 and Tcl/Tk 8.4.6
OS: SuSE Linux 9.1 running KDE 3.2.1, verified in the
BWidget demo from ActiveTcl 8.4.5 (BWidget 1.7)
The BWidget ListBox binds the <Key-Up> and <Key-
Down> events to the class ListBox, which refers to the
frame. It should however be bound to the canvas inside
that frame.
A quick hack for me was to add these two lines to the
end of ListBox::create:
bind $path.c <Key-Up> \
[list ListBox::_keyboard_navigation $path -1]
bind $path.c <Key-Down> \
[list ListBox::_keyboard_navigation $path 1]
There is probably a nice way of doing this....
|