XKB FUNCTIONS XkbGetKeyActions(3x11)
NAME
XkbGetKeyActions - Update the actions (the key_acts array)
for a subset of the keys in a keyboard descriptionSYNOPSIS
cc [ flag... ] file... -lX11 [ library... ]
Status XkbGetKeyActions (Display *dpy, unsigned int first,
unsigned int num, XkbDescPtr xkb); ARGUMENTS- dpy
connection to X server- first
keycode of first key of interest- num
number of keys desired- xkb
pointer to keyboard description where result is storedDESCRIPTION
XkbGetKeyActions sends a request to the server to obtain the
actions for num keys on the keyboard starting with key first. It waits for a reply and returns the actions in theserver->key_acts field of xkb. If successful, XkbGetKeyAc-
tions returns Success. The xkb parameter must be a pointer to a valid Xkb keyboard description.If the server map, in the xkb parameter, has not been allo-
cated, XkbGetKeyActions 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-
KeyActions returns BadAccess. If num is less than 1 orgreater than XkbMaxKeyCount, XkbGetKeyActions returns Bad-
Value. If any allocation errors occur, XkbGetKeyActions
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 1XKB FUNCTIONS XkbGetKeyActions(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