'\" t .\" Translat.sgm /main/9 1996/09/08 21:11:37 rws $ .de P! .fl \!!1 setgray .fl \\&.\" .fl \!!0 setgray .fl \" force out current output buffer \!!save /psv exch def currentpoint translate 0 0 moveto \!!/showpage{}def .fl \" prolog .sy sed -e 's/^/!/' \\$1\" bring in postscript file \!!psv restore . .de pF .ie \\*(f1 .ds f1 \\n(.f .el .ie \\*(f2 .ds f2 \\n(.f .el .ie \\*(f3 .ds f3 \\n(.f .el .ie \\*(f4 .ds f4 \\n(.f .el .tm ? font overflow .ft \\$1 .. .de fP .ie !\\*(f4 \{\ . ft \\*(f4 . ds f4\" ' br \} .el .ie !\\*(f3 \{\ . ft \\*(f3 . ds f3\" ' br \} .el .ie !\\*(f2 \{\ . ft \\*(f2 . ds f2\" ' br \} .el .ie !\\*(f1 \{\ . ft \\*(f1 . ds f1\" ' br \} .el .tm ? font underflow .. .ds f1\" .ds f2\" .ds f3\" .ds f4\" .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n .TH "XmTranslateKey" 3 .SH "NAME" \fBXmTranslateKey\fP \(em The default keycode-to-keysym translator "XmTranslateKey" .SH "SYNOPSIS" .PP .nf #include \fBvoid \fBXmTranslateKey\fP\fR( \fBDisplay *\fBdisplay\fR\fR, \fBKeyCode \fBkeycode\fR\fR, \fBModifiers \fBmodifiers\fR\fR, \fBModifiers *\fBmodifiers_return\fR\fR, \fBKeySym *\fBkeysym_return\fR\fR); .fi .SH "DESCRIPTION" .PP \fBXmTranslateKey\fP is the default \fBXtKeyProc\fP translation procedure for Motif applications\&. The function takes a keycode and modifiers and returns the corresponding keysym\&. .PP \fBXmTranslateKey\fP serves two main purposes: to enable new translators with expanded functionality to get the default Motif keycode-to-keysym translation in addition to whatever they add, and to reinstall the default translator\&. This function enables keysyms defined by the Motif virtual bindings to be used when an application requires its own XtKeyProc to be installed\&. .IP "\fIdisplay\fP" 10 Specifies the display that the keycode is from .IP "\fIkeycode\fP" 10 Specifies the keycode to translate .IP "\fImodifiers\fP" 10 Specifies the modifier keys to be applied to the keycode .IP "\fImodifiers_return\fP" 10 Specifies a mask of the modifier keys actually used to generate the keysym (an AND of \fImodifiers\fP and any default modifiers applied by the currently registered translator) .IP "\fIkeysym_return\fP" 10 Specifies a pointer to the resulting keysym .SH "RELATED" .PP \fBVirtualBindings\fP(3)\&. .\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:33