XKB FUNCTIONS XkbChangeTypesOfKey(3x11)
NAME
XkbChangeTypesOfKey - Obtain the behaviors (the behaviors
array) for a subset of the keys in a keyboard description from the serverSYNOPSIS
cc [ flag... ] file... -lX11 [ library... ]
Status XkbChangeTypesOfKey (Display *dpy, unsigned int first, unsigned int num, XkbDescPtr xkb); ARGUMENTS- dpy
connection to server- first
keycode of first key to get- num
number of keys for which behaviors are desired- xkb
Xkb description to contain the resultDESCRIPTION
XkbGetKeyBehaviors sends a request to the server to obtain
the behaviors for num keys on the keyboard starting with the key whose keycode is first. It waits for a reply and returnsthe behaviors in the server->behaviors field of xkb. If suc-
cessful, XkbGetKeyBehaviors returns Success.
If the server map in the xkb parameter has not been allo-
cated, XkbGetKeyBehaviors allocates and initializes it
before obtaining the actions. If the server does not have a compatible version of Xkb, orthe Xkb extension has not been properly initialized, XkbGet-
KeyBehaviors returns BadAccess. If num is less than 1 orgreater than XkbMaxKeyCount, XkbGetKeyBehaviors returns Bad-
Value. If any allocation errors occur, XkbGetKeyBehaviors
returns BadAlloc. DIAGNOSTICSBadAccess The Xkb extension has not been properly ini-
tialized BadAlloc Unable to allocate storage BadValue An argument is out of range X Version 11 Last change: libX11 1.3.5 1 XKB FUNCTIONS XkbChangeTypesOfKey(3x11)ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | x11/library/libx11 ||_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | See XInitThreads(3X11) |
|_____________________________|_____________________________|
X Version 11 Last change: libX11 1.3.5 2