XtSetKeyTranslator
NAMESYNTAX
ARGUMENTS
DESCRIPTION
SEE ALSO
NAME
XtSetKeyTranslator, XtTranslateKeycode, XtRegisterCaseConverter, XtConvertCase − convert KeySym to KeyCodes
SYNTAX
void XtSetKeyTranslator(Display *display, XtKeyProc proc); | |
void XtTranslateKeycode(Display *display, KeyCode keycode, Modifiers modifiers, Modifiers *modifiers_return, KeySym *keysym_return); | |
void XtRegisterCaseConverter(Display *display, XtCaseProc proc, KeySym start, KeySym stop); | |
void XtConvertCase(Display *display, KeySym keysym, KeySym *lower_return, KeySym *upper_return); |
ARGUMENTS
display |
Specifies the display. |
|||
keycode |
Specifies the KeyCode to translate. |
|||
keysym |
Specifies the KeySym to convert. |
keysym_return
Returns the resulting KeySym.
lower_return
Returns the lowercase equivalent of the KeySym.
upper_return
Returns the uppercase equivalent of the KeySym.
modifiers |
Specifies the modifiers to the KeyCode. |
modifiers_return
Returns a mask that indicates the modifiers actually used to generate the KeySym.
proc |
Specifies the procedure that is to perform key translations or conversions. | ||
start |
Specifies the first KeySym for which this converter is valid. | ||
stop |
Specifies the last KeySym for which this converter is valid. |
DESCRIPTION
The XtSetKeyTranslator function sets the specified procedure as the current key translator. The default translator is XtTranslateKey, an XtKeyProc that uses Shift and Lock modifiers with the interpretations defined by the core protocol. It is provided so that new translators can call it to get default KeyCode-to-KeySym translations and so that the default translator can be reinstalled.
The XtTranslateKeycode function passes the specified arguments directly to the currently registered KeyCode to KeySym translator.
The XtRegisterCaseConverter registers the specified case converter. The start and stop arguments 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. No interface exists to remove converters; you need to register an identity converter. When a new converter is registered, the Intrinsics refreshes the keyboard state if necessary. The default converter understands case conversion for all KeySyms defined in the core protocol.
The XtConvertCase function calls the appropriate converter and returns the results. A user-supplied XtKeyProc may need to use this function.
SEE ALSO
X Toolkit
Intrinsics − C Language Interface
Xlib − C Language X Interface
More Linux Commands
manpages/gnutls_openpgp_crt_verify_ring.3.html
gnutls_openpgp_crt_verify_ring(3) - API function (Man Page)
Verify all signatures in the key, using the given set of keys (keyring). The key verification output will be put in verify and will be one or more of the gnutls
manpages/bluetoothd.8.html
bluetoothd(8) - Bluetooth daemon (Admin - Linux man page)...
This manual page documents briefly the bluetoothd daemon, which manages all the Bluetooth devices. bluetoothd can also provide a number of services via the D-Bu
manpages/user-dirs.dirs.5.html
user-dirs.dirs(5) settings for XDG user dirs (Man Page).....
The $HOME/.config/user-dirs.dirs file is a text file that contains the user-specific values for the XDG user dirs. It is created and updated by the xdg-user-dir
manpages/ssh-pkcs11-helper.8.html
ssh-pkcs11-helper(8) - ssh-agent helper program for PKCS#11
ssh-pkcs11-helper is used by ssh-agent(1) to access keys provided by a PKCS#11 token. ssh-pkcs11-helper is not intended to be invoked by the user, but from ssh-
manpages/svcudp_bufcreate.3.html
svcudp_bufcreate(3) - library routines for remote procedure
These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the s
manpages/tanh.3.html
tanh(3) - hyperbolic tangent function - Linux manual page...
The tanh() function returns the hyperbolic tangent of x, which is defined mathematically as: tanh(x) = sinh(x) / cosh(x) RETURN VALUE On success, these function
manpages/lgamma_r.3.html
lgamma_r(3) - log gamma function (Library - Linux man page)
For the definition of the Gamma function, see tgamma(3). The lgamma() function returns the natural logarithm of the absolute value of the Gamma function. The si
manpages/ldap_sort_entries.3.html
ldap_sort_entries(3) - LDAP sorting routines (deprecated)...
The ldap_sort_entries(), ldap_sort_values(), and ldap_sort_strcasecmp() are deprecated. Deprecated interfaces generally remain in the library. The macro LDAP_DE
manpages/XCheckTypedWindowEvent.3.html
XCheckTypedWindowEvent(3) - select events by type (ManPage)
The XNextEvent function copies the first event from the event queue into the specified XEvent structure and then removes it from the queue. If the event queue i
manpages/FcUcs4ToUtf8.3.html
FcUcs4ToUtf8(3) - convert UCS4 to UTF-8 - Linux manual page
Converts the Unicode char from src into dst and returns the number of bytes needed to encode the char. VERSION Fontconfig version 2.8.0 FcUcs4ToUtf8.3 (Library
manpages/Tk_NameOf3DBorder.3.html
Tk_NameOf3DBorder(3) - draw borders with three-dimensional a
These procedures provide facilities for drawing window borders in a way that produces a three-dimensional appearance. Tk_Alloc3DBorderFromObj allocates colors a
manpages/crontab.5.html
crontab(5) - files used to schedule the execution of program
A crontab file contains instructions for the cron(8) daemon in the following simplified manner: run this command at this time on this date. Each user can define
