GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XmTranslateKey(3) FreeBSD Library Functions Manual XmTranslateKey(3)

XmTranslateKey — The default keycode-to-keysym translator

#include <Xm/Xm.h>
void XmTranslateKey(
Display *display,
KeyCode keycode,
Modifiers modifiers,
Modifiers *modifiers_return,
KeySym *keysym_return);

XmTranslateKey is the default XtKeyProc translation procedure for Motif applications. The function takes a keycode and modifiers and returns the corresponding keysym.
XmTranslateKey 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.
display
Specifies the display that the keycode is from
keycode
Specifies the keycode to translate
modifiers
Specifies the modifier keys to be applied to the keycode
modifiers_return
Specifies a mask of the modifier keys actually used to generate the keysym (an AND of modifiers and any default modifiers applied by the currently registered translator)
keysym_return
Specifies a pointer to the resulting keysym

VirtualBindings(3).

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.