Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtConvertCa(3) — OSF1 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtRegisterCaseConverter(1)

XtSetKeyTranslator(1)

XtTranslateKey(1)

XtTranslateKeycode(1)

XtCaseProc(2)

XtKeyProc(2)

 

Name

XtConvertCase — determine upper-case and lower-case versions of a keysym. 

Synopsis

void XtConvertCase(display, keysym, lower_return, upper_return)

    Display ∗display;
    KeySym keysym;
    KeySym ∗lower_return;
    KeySym ∗upper_return;

Arguments

displaySpecifies the display that the keysym came from. 

keysymSpecifies the keysym to convert. 

lower_return
Returns the lower-case equivalent of the keysym.

upper_return
Returns the upper-case equivalent of the keysym.

Description

XtConvertCase is used to determine upper-case and lower-case equivalents for a keysym.  It calls the case converter that is currently registered to convert those keysyms and returns the results.  This procedure can perform application-specific shifting of characters. 

A user-supplied XtKeyProc may need to use this function. 

XtRegisterCaseConverter can be used to register a new case converter. 

For a more detailed discussion of processing keyboard input, see Chapter 13, Miscellaneous Toolkit Programming Techniques, in Volume Four, X Toolkit Intrinsics Programming Manual.  See Chapter 9, The Keyboard and Pointer, in Volume One, Xlib Programming Manual, for more information on keysyms. 

See Also

XtRegisterCaseConverter(1), XtSetKeyTranslator(1), XtTranslateKey(1), XtTranslateKeycode(1),
XtCaseProc(2), XtKeyProc(2). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026