XtRegisterCaseConverter()XtRegisterCaseConverter()NameXtRegisterCaseConverter - register a case converter.
Synopsis
void XtRegisterCaseConverter(display, proc, start, stop)
Display *display;
XtCaseProc proc;
KeySym start;
KeySym stop;
Inputs
display Specifies the display from which the key events are to come.
proc Specifies the XtCaseProc that is to do the conversions.
start Specifies the first keysym for which this converter is valid.
stop Specifies the last keysym for which this converter is valid.
DescriptionXtRegisterCaseConverter() registers proc with the Intrinsics as a pro‐
cedure to be called in order to determine the correct uppercase and
lowercase versions of any keysyms between start and stop inclusive.
The registered converter overrides any previous converters registered
in that range.
See XtCaseProc(2) for a description of how to write a case converter
procedure.
Usage
The Translation Manager uses case converters as part of its keycode-to-
keysym translation process. The default converter understands case
conversion for all keysyms defined in the X11 protocol. You will prob‐
ably never need to register a case converter unless you are working
with non-standard keysyms.
The only way to remove a converter is to register a new one, perhaps an
"identity" converter which performs no conversion at all.
The registered case converters are invoked by the translation manager,
and can also be explicitly called with the function XtConvertCase().
Structures
typedef XID KeySym;
See AlsoXtConvertCase(1), XtGetKeysymTable(1), XtKeysymToKeycodeList(1),
XtSetKeyTranslator(1), XtTranslateKeycode(1),
XtCaseProc(2), XtKeyProc(2).
Xt - Keyboard Handling XtRegisterCaseConverter()