summaryrefslogtreecommitdiffstats
path: root/library/ttk
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2010-03-17 09:27:23 (GMT)
committerdkf <dkf@noemail.net>2010-03-17 09:27:23 (GMT)
commit1ea412c45b1b6df875f89b117978dfdb765cc095 (patch)
tree2e11bb5a65563cae5167b16b7d0139a339575fb0 /library/ttk
parentf63a7438348d0e89acbdefee7f7bb45f703d3b59 (diff)
downloadtk-1ea412c45b1b6df875f89b117978dfdb765cc095.zip
tk-1ea412c45b1b6df875f89b117978dfdb765cc095.tar.gz
tk-1ea412c45b1b6df875f89b117978dfdb765cc095.tar.bz2
* library/entry.tcl: [Bug 2971663]: Make the <Up> and <Down> keys
* library/ttk/entry.tcl: explicitly do nothing, since Tk-on-Cocoa will generate (invisible zero-width) characters for them otherwise. The explicitly empty bindings are harmless on other platforms. FossilOrigin-Name: 0bc3c023fc8f0a2a8b65acb9207cb9114d65299f
Diffstat (limited to 'library/ttk')
-rw-r--r--library/ttk/entry.tcl5
1 files changed, 4 insertions, 1 deletions
diff --git a/library/ttk/entry.tcl b/library/ttk/entry.tcl
index a3a81a3..0e1194f 100644
--- a/library/ttk/entry.tcl
+++ b/library/ttk/entry.tcl
@@ -1,5 +1,5 @@
#
-# $Id: entry.tcl,v 1.7 2010/01/06 18:37:37 dkf Exp $
+# $Id: entry.tcl,v 1.8 2010/03/17 09:27:23 dkf Exp $
#
# DERIVED FROM: tk/library/entry.tcl r1.22
#
@@ -137,6 +137,9 @@ bind TEntry <Key-Tab> {# nothing}
if {[tk windowingsystem] eq "aqua"} {
bind TEntry <Command-KeyPress> {# nothing}
}
+# Tk-on-Cocoa generates characters for these two keys. [Bug 2971663]
+bind TEntry <Down> {# nothing}
+bind TEntry <Up> {# nothing}
## Additional emacs-like bindings:
#