Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xstringtokeysym(3x11) [ultrix man page]

XStringToKeysym(3X11)						     MIT X11R4						     XStringToKeysym(3X11)

Name
       XStringToKeysym, XKeysymToString, XKeycodeToKeysym, XKeysymToKeycode - convert keysyms

Syntax
       KeySym XStringToKeysym(string)
	  char *string;

       char *XKeysymToString(keysym)
	  KeySym keysym;

       KeySym XKeycodeToKeysym(display, keycode, index)
	  Display *display;
	  KeyCode keycode;
	  int index;

       KeyCode XKeysymToKeycode(display, keysym)
	  Display *display;
	  KeySym keysym;

Arguments
       display	 Specifies the connection to the X server.

       index	 Specifies the element of KeyCode vector.

       keycode	 Specifies the KeyCode.

       keysym	 Specifies the KeySym that is to be searched for or converted.

       string	 Specifies the name of the KeySym that is to be converted.

Description
       Valid KeySym names are listed in by removing the XK_ prefix from each name.  If the specified string does not match a valid KeySym, returns

       The returned string is in a static area and must not be modified.  If the specified KeySym is not defined, returns a NULL.

       The function uses internal Xlib tables and returns the KeySym defined for the specified KeyCode and the element of the KeyCode vector.  If
       no symbol is defined, returns

       If the specified KeySym is not defined for any KeyCode, returns zero.

See Also
       XLookupKeysym(3X11)
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

															     XStringToKeysym(3X11)

Check Out this Related Man Page

XStringToKeysym(3X11)													     XStringToKeysym(3X11)

NAME
XStringToKeysym, XKeysymToString, XKeycodeToKeysym, XKeysymToKeycode, XConvertCase - convert keysyms SYNOPSIS
KeySym XStringToKeysym(string) char *string; char *XKeysymToString(keysym) KeySym keysym; KeySym XKeycodeToKeysym(display, keycode, index) Display *display; KeyCode keycode; int index; KeyCode XKeysymToKeycode(display, keysym) Display *display; KeySym keysym; void XConvertCase(keysym, lower_return, upper_return) KeySym keysym; KeySym *lower_return; KeySym *upper_return; ARGUMENTS
Specifies the connection to the X server. Specifies the element of KeyCode vector. Specifies the KeyCode. Specifies the KeySym that is to be searched for or converted. Returns the lowercase form of keysym, or keysym. Specifies the name of the KeySym that is to be con- verted. Returns the uppercase form of keysym, or keysym. DESCRIPTION
Standard KeySym names are obtained from <X11/keysymdef.h> by removing the XK_ prefix from each name. KeySyms that are not part of the Xlib standard also may be obtained with this function. The set of KeySyms that are available in this manner and the mechanisms by which Xlib obtains them is implementation dependent. If the KeySym name is not in the Host Portable Character Encoding, the result is implementation dependent. If the specified string does not match a valid KeySym, XStringToKeysym returns NoSymbol. The returned string is in a static area and must not be modified. The returned string is in the Host Portable Character Encoding. If the specified KeySym is not defined, XKeysymToString returns a NULL. The XKeycodeToKeysym function uses internal Xlib tables and returns the KeySym defined for the specified KeyCode and the element of the KeyCode vector. If no symbol is defined, XKeycodeToKeysym returns NoSymbol. If the specified KeySym is not defined for any KeyCode, XKeysymToKeycode returns zero. The XConvertCase function returns the uppercase and lowercase forms of the specified Keysym, if the KeySym is subject to case conversion; otherwise, the specified KeySym is returned to both lower_return and upper_return. Support for conversion of other than Latin and Cyrillic KeySyms is implementation dependent. SEE ALSO
XLookupKeysym(3X11) Xlib -- C Language X Interface XStringToKeysym(3X11)
Man Page