summaryrefslogtreecommitdiffstats
path: root/library/menu.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-08-11 08:36:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-08-11 08:36:58 (GMT)
commit37bbae810972820ec44d0ff5dab6bdf66117ef44 (patch)
tree7050d329d65766f1d5dff4afea7217752c1dcb40 /library/menu.tcl
parentb1389978ea8fdb2388386559c06247cb00ce48b1 (diff)
parent2b0aa341dd7556d42bd7ac7ebc11e6d767455775 (diff)
downloadtk-37bbae810972820ec44d0ff5dab6bdf66117ef44.zip
tk-37bbae810972820ec44d0ff5dab6bdf66117ef44.tar.gz
tk-37bbae810972820ec44d0ff5dab6bdf66117ef44.tar.bz2
[Bug 3555644]: Better use of virtual events.
Pre-define 10 new Virtual events, and correct various bindings according to the Mac OSX documentation.
Diffstat (limited to 'library/menu.tcl')
-rw-r--r--library/menu.tcl8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/menu.tcl b/library/menu.tcl
index cc57532..a51c96f 100644
--- a/library/menu.tcl
+++ b/library/menu.tcl
@@ -149,16 +149,16 @@ bind Menu <Return> {
bind Menu <Escape> {
tk::MenuEscape %W
}
-bind Menu <Left> {
+bind Menu <<PrevChar>> {
tk::MenuLeftArrow %W
}
-bind Menu <Right> {
+bind Menu <<NextChar>> {
tk::MenuRightArrow %W
}
-bind Menu <Up> {
+bind Menu <<PrevLine>> {
tk::MenuUpArrow %W
}
-bind Menu <Down> {
+bind Menu <<NextLine>> {
tk::MenuDownArrow %W
}
bind Menu <KeyPress> {