1XkbGetKeyBehaviors(3)            XKB FUNCTIONS           XkbGetKeyBehaviors(3)
2
3
4

NAME

6       XkbGetKeyBehaviors  -  Obtain the behaviors (the behaviors array) for a
7       subset of the keys in a keyboard description from the server
8

SYNOPSIS

10       Status XkbGetKeyBehaviors (Display *dpy, unsigned int  first,  unsigned
11              int num, XkbDescPtr xkb);
12

ARGUMENTS

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

DESCRIPTION

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  re‐
28       turns Success.
29
30       If  the  server  map  in  the xkb parameter has not been allocated, Xk‐
31       bGetKeyBehaviors allocates and initializes it before obtaining the  ac‐
32       tions.
33
34       If the server does not have a compatible version of Xkb, or the Xkb ex‐
35       tension has not been properly initialized,  XkbGetKeyBehaviors  returns
36       BadAccess.  If  num  is less than 1 or greater than XkbMaxKeyCount, Xk‐
37       bGetKeyBehaviors returns BadValue. If any allocation errors occur,  Xk‐
38       bGetKeyBehaviors returns BadAlloc.
39

DIAGNOSTICS

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.7.0            XkbGetKeyBehaviors(3)
Impressum