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

NAME

6       XkbKeyGroupsWidth  - Computes the maximum width associated with the key
7       corresponding to keycode
8

SYNOPSIS

10       int XkbKeyGroupsWidth (XkbDescPtr xkb, KeyCode keycode);
11

ARGUMENTS

13       xkb    Xkb description of interest
14
15       keycode
16              keycode of interest
17

DESCRIPTION

19       The key width and number of groups associated with a key  are  used  to
20       form a small two-dimensional array of KeySyms for a key. This array may
21       be different sizes for different keys. The array for a  single  key  is
22       stored  as a linear list, in row-major order. The arrays for all of the
23       keys are stored in the syms field of the client map. There is  one  row
24       for each group associated with a key and one column for each level. The
25       index corresponding to a given group and shift level is computed as:
26
27            idx = group_index * key_width + shift_level
28
29       The offset field of the key_sym_map entry for a key is used  to  access
30       the beginning of the array.
31
32       XkbKeyGroupsWidth  computes  the  maximum width associated with the key
33       corresponding to keycode.
34
35
36
37X Version 11                     libX11 1.8.7             XkbKeyGroupsWidth(3)
Impressum