1XkbGetKeyBehaviors(3) XKB FUNCTIONS XkbGetKeyBehaviors(3)
2
3
4
6 XkbGetKeyBehaviors - Obtain the behaviors (the behaviors array) for a
7 subset of the keys in a keyboard description from the server
8
10 Status XkbGetKeyBehaviors (Display *dpy, unsigned int first, unsigned
11 int num, XkbDescPtr xkb);
12
14 dpy connection to server
15
16 first keycode of first key to get
17
18 num number of keys for which behaviors are desired
19
20 xkb Xkb description to contain the result
21
23 XkbGetKeyBehaviors sends a request to the server to obtain the behav‐
24 iors for num keys on the keyboard starting with the key whose keycode
25 is first. It waits for a reply and returns the behaviors in the
26 server->behaviors field of xkb. If successful, XkbGetKeyBehaviors re‐
27 turns Success.
28
29 If the server map in the xkb parameter has not been allocated, Xk‐
30 bGetKeyBehaviors allocates and initializes it before obtaining the ac‐
31 tions.
32
33 If the server does not have a compatible version of Xkb, or the Xkb ex‐
34 tension has not been properly initialized, XkbGetKeyBehaviors returns
35 BadAccess. If num is less than 1 or greater than XkbMaxKeyCount, Xk‐
36 bGetKeyBehaviors returns BadValue. If any allocation errors occur, Xk‐
37 bGetKeyBehaviors returns BadAlloc.
38
40 BadAccess The Xkb extension has not been properly initialized
41
42 BadAlloc Unable to allocate storage
43
44 BadValue An argument is out of range
45
46
47
48X Version 11 libX11 1.8.7 XkbGetKeyBehaviors(3)