NAME
XmuLookup∗ — translate a key event into a keysym and string, using various keysym sets.
SYNOPSIS
#include <X11/Xmu/CharSet.h>
int XmuLookupLatin1(event, buffer, nbytes, keysym, status)
int XmuLookupLatin2(event, buffer, nbytes, keysym, status)
int XmuLookupLatin3(event, buffer, nbytes, keysym, status)
int XmuLookupLatin4(event, buffer, nbytes, keysym, status)
int XmuLookupKana(event, buffer, nbytes, keysym, status)
int XmuLookupJISX0201(event, buffer, nbytes, keysym, status)
int XmuLookupArabic(event, buffer, nbytes, keysym, status)
int XmuLookupCyrillic(event, buffer, nbytes, keysym, status)
int XmuLookupGreek(event, buffer, nbytes, keysym, status)
int XmuLookupHebrew(event, buffer, nbytes, keysym, status)
int XmuLookupAPL(event, buffer, nbytes, keysym, status)
XKeyEvent ∗event;
char ∗buffer;
int nbytes;
KeySym ∗keysym;
XComposeStatus ∗status;
ARGUMENTS
eventSpecifies the key event.
bufferReturns the translated characters.
nbytesSpecifies the length of the buffer.
keysymReturns the computed KeySym, or None.
statusSpecifies or returns the compose state.
DESCRIPTION
These functions translate a key event into a keysym and string, using a keysym set other than Latin-1, as shown in the following table.
| Function | Converts To | XmuLookupLatin1@T{ Latin-1 (ISO 8859-1), or ASCII control (Synonym for XLookupString). T} XmuLookupLatin2@Latin-2 (ISO 8859-2), or ASCII control. XmuLookupLatin3@Latin-3 (ISO 8859-3), or ASCII control. XmuLookupLatin4@Latin-4 (ISO 8859-4), or ASCII control. XmuLookupKana@T{ Latin-1 (ISO 8859-1) and ASCII control in the Graphics Left half (values 0 to 127), and Katakana in the Graphics Right half (values 128 to 255), using the values from JIS X201-1976. T} XmuLookupJISX0201@JIS X0201-1976 encoding, including ASCII control. XmuLookupArabic@Latin/Arabic (ISO 8859-6), or ASCII control. XmuLookupCyrillic@Latin/Cyrillic (ISO 8859-5), or ASCII control. XmuLookupGreek@Latin/Greek (ISO 8859-7), or ASCII control. XmuLookupHebrew@Latin/Hebrew (ISO 8859-8), or ASCII control string. XmuLookupAPL@APL string. |
XmuLookupLatin1 is identical to XLookupString(), and exists only for naming symmetry with other functions covered on this page.
SEE ALSO
XmuCompareISOLatin1, XmuCopyISOLatin1Lowered, XmuCopyISOLatin1Uppered.
Xlib Reference Manual