-Q2.B.3- bind the arrow key on my Sun keyboard?
From: -II- Tk Questions and Answers - How can I:
A2.B.3. You have to call it <Left> rather than <R10>. Under X11, keys are
referred to by their keysym. One can use either xmodmap -pk or the xev
program to determine what the keysym a particular key on a keyboard is
currently generating.
If the keysym that is being used is not known by Tk, you may have to edit
its ks_names.h file. There is a note in this file that indicates that
one should not edit it - but this is where the keysym must be for it to
be recognized.
Thanks to Wayne Christopher <faustus@CS.Berkeley.EDU> for this
note.
Parent document is top of "FAQ: comp.lang.tcl Tk Toolkit Usage Questions And Answers (1/1)"
Previous document is "-Q2.B.2- delete a binding?"
Next document is "-Q2.B.4- get root's mouse bindings to work in my Tk application?"