The keyboard traversal default bindings for menubuttons
seems to work only under unix/linux.
I've tried to bind manually for keyboard traversal but
i've encountered a major problem: under windows is
impossible to bind a simple keypress to a menu.
An example:
toplevel .tl
menu .tl.menu -tearoff 0
menu .tl.menu.file -tearoff 0
.tl.menu add cascade -label File -menu .tl.menu.file
.tl.menu.file add command -label New
.tl.menu.file add command -label Open
.tl configure -menu .tl.menu
bind .tl.menu.fichero <h> {puts "Hello"}
----
This works on linux but not on windows.
Logged In: YES
user_id=79902
The correct way to enable full keyboard traversal (on *all*
platforms) is to set an underline (using the -underline option)
[bind] will not work on Win menus; they're not standard Tk
windows.