Manual Section... (3) - page: XkbTranslateKeySym
NAMEXkbTranslateKeySym - Find the string and symbol associated with a keysym for a given keyboard state
SYNOPSISint XkbTranslateKeySym ( dpy , sym_inout , mods , buf , nbytes , extra_rtrn )
unsigned int mods;
- - dpy
- connection to X server
- - sym_inout
- symbol to be translated; result of translation
- - mods
- modifiers to apply to sym_inout
- - buf
- buffer into which returned string is written
- - nbytes
- size of buffer in bytes
- - extra_rtrn
- number of bytes overflow
XkbTranslateKeySym applies the transformations specified in mods to the symbol specified by sym_inout. It returns in buf the string, if any, associated with the keysym for the current locale. If the transformations in mods changes the keysym, sym_inout is updated accordingly. If the string returned is larger than nbytes, a count of bytes that does not fit into the buffer is returned in extra_rtrn. XkbTranslateKeySym returns the number of bytes it placed into buf.
Returns the string, if any, associated with the keysym for the current locale.
This document was created by man2html, using the manual pages.
Time: 15:27:38 GMT, June 11, 2010