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
17 keycode of first key to get
18
19 - num number of keys for which behaviors are desired
20
21 - xkb Xkb description to contain the result
22
24 XkbGetKeyBehaviors sends a request to the server to obtain the behavā
25 iors for num keys on the keyboard starting with the key whose keycode
26 is first. It waits for a reply and returns the behaviors in the
27 server->behaviors field of xkb. If successful, XkbGetKeyBehaviors
28 returns Success.
29
30 If the server map in the xkb parameter has not been allocated,
31 XkbGetKeyBehaviors allocates and initializes it before obtaining the
32 actions.
33
34 If the server does not have a compatible version of Xkb, or the Xkb
35 extension has not been properly initialized, XkbGetKeyBehaviors returns
36 BadAccess. If num is less than 1 or greater than XkbMaxKeyCount,
37 XkbGetKeyBehaviors returns BadValue. If any allocation errors occur,
38 XkbGetKeyBehaviors returns BadAlloc.
39
41 BadAccess The Xkb extension has not been properly initialized
42
43 BadAlloc Unable to allocate storage
44
45 BadValue An argument is out of range
46
47
48
49X Version 11 libX11 1.6.4 XkbGetKeyBehaviors(3)