Name
XtRegisterCaseConverter — register a case converter.
Synopsis
void XtRegisterCaseConverter(display, proc, start, stop)
Display ∗display;
XtCaseProc proc;
KeySym start;
KeySym stop;
Arguments
displaySpecifies the display from which the key events are to come.
procSpecifies the XtCaseProc that is to do the conversions.
startSpecifies the first keysym for which this converter is valid.
stopSpecifies the last keysym for which this converter is valid.
Description
XtRegisterCaseConverter registers the specified case converter (see XtCaseProc(2)). start and stop provide the inclusive range of keysyms for which this converter is to be called. The new converter overrides any previous converters for keysyms in that range.
The only way to remove a converter is to register a new one. For example, the default key translator (_XtConvertCase) can be explicitly reinstalled. The default converter understands case conversion for all keysyms defined in the X11 protocol. The keysyms defining a keysym range are defined in <X11/keysym.h>.
The various functions for remapping the keyboard are discussed in Chapter 13, Miscellaneous Toolkit Programming Techniques, in Volume Four, X Toolkit Intrinsics Programming Manual.
Structures
typedef XID KeySym;
See Also
XtConvertCase(1), XtGetKeysymTable(1), XtKeysymToKeycodeList(1), XtSetKeyTranslator(1), XtTranslateKeycode(1),
XtCaseProc(2), XtKeyProc(2).