1XmTranslateKey(library call)                      XmTranslateKey(library call)
2
3
4

NAME

6       XmTranslateKey — The default keycode-to-keysym translator
7

SYNOPSIS

9       #include <Xm/Xm.h>
10       void XmTranslateKey(
11       Display *display,
12       KeyCode keycode,
13       Modifiers modifiers,
14       Modifiers *modifiers_return,
15       KeySym *keysym_return);
16

DESCRIPTION

18       XmTranslateKey is the default XtKeyProc translation procedure for Motif
19       applications. The function takes a keycode and  modifiers  and  returns
20       the corresponding keysym.
21
22       XmTranslateKey serves two main purposes: to enable new translators with
23       expanded functionality  to  get  the  default  Motif  keycode-to-keysym
24       translation  in  addition  to  whatever  they add, and to reinstall the
25       default translator. This function enables keysyms defined by the  Motif
26       virtual  bindings  to  be  used  when  an  application requires its own
27       XtKeyProc to be installed.
28
29       display   Specifies the display that the keycode is from
30
31       keycode   Specifies the keycode to translate
32
33       modifiers Specifies the modifier keys to be applied to the keycode
34
35       modifiers_return
36                 Specifies a mask of the modifier keys actually used to gener‐
37                 ate the keysym (an AND of modifiers and any default modifiers
38                 applied by the currently registered translator)
39
40       keysym_return
41                 Specifies a pointer to the resulting keysym
42
44       VirtualBindings(3).
45
46
47
48                                                  XmTranslateKey(library call)
Impressum