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

NAME

6       XkbKeyGroupWidth  -  Computes the width of the type associated with the
7       group grp for the key corresponding to keycode
8

SYNOPSIS

10       int XkbKeyGroupWidth (XkbDescPtr xkb, KeyCode keycode, int grp);
11

ARGUMENTS

13       - xkb  Xkb description of interest
14
15       - keycode
16              keycode of interest
17
18       - grp  group of interest
19

DESCRIPTION

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