summaryrefslogtreecommitdiffstats
path: root/library/spinbox.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-04-19 13:17:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-04-19 13:17:47 (GMT)
commit31e1e833714bdfef28bd7e8cac01cc49573ac34b (patch)
tree5350599810c64ef5eca8dd36e4579df36cb2fcb6 /library/spinbox.tcl
parentc7b3e8d6ca8ff7107e1db5111d22654afda75da4 (diff)
downloadtk-31e1e833714bdfef28bd7e8cac01cc49573ac34b.zip
tk-31e1e833714bdfef28bd7e8cac01cc49573ac34b.tar.gz
tk-31e1e833714bdfef28bd7e8cac01cc49573ac34b.tar.bz2
Mod4 -> Fn
Diffstat (limited to 'library/spinbox.tcl')
-rw-r--r--library/spinbox.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/spinbox.tcl b/library/spinbox.tcl
index 8d516bc..fada802 100644
--- a/library/spinbox.tcl
+++ b/library/spinbox.tcl
@@ -205,7 +205,7 @@ bind Spinbox <Key> {
::tk::EntryInsert %W %A
}
-# Ignore all Alt, Meta, Control, and Mod4 keypresses unless explicitly bound.
+# Ignore all Alt, Meta, Control, and Fn keypresses unless explicitly bound.
# Otherwise, if a widget binding for one of these is defined, the
# <Key> class binding will also fire and insert the character,
# which is wrong. Ditto for Escape, Return, and Tab.
@@ -220,7 +220,7 @@ bind Spinbox <Tab> {# nothing}
bind Spinbox <Prior> {# nothing}
bind Spinbox <Next> {# nothing}
bind Spinbox <Command-Key> {# nothing}
-bind Spinbox <Mod4-Key> {# nothing}
+bind Spinbox <Fn-Key> {# nothing}
# On Windows, paste is done using Shift-Insert. Shift-Insert already
# generates the <<Paste>> event, so we don't need to do anything here.