1XkbAddGeomOverlayKey(3) XKB FUNCTIONS XkbAddGeomOverlayKey(3)
2
3
4
6 XkbAddGeomOverlayKey - Add a key to an existing overlay row
7
9 XkbOverlayKeyPtr XkbAddGeomOverlayKey (XkbOverlayPtr overlay, XkbRowPtr
10 row, _Xconst char *over, _Xconst char *under);
11
13 overlay
14 overlay to be updated
15
16 row row in overlay to be updated
17
18 under primary name of the key to be considered
19
21 Xkb provides functions to add a single new element to the top-level
22 keyboard geometry. In each case the num_ * fields of the corresponding
23 structure is incremented by 1. These functions do not change sz_* un‐
24 less there is no more room in the array. Some of these functions fill
25 in the values of the element's structure from the arguments. For other
26 functions, you must explicitly write code to fill the structure's ele‐
27 ments.
28
29 The top-level geometry description includes a list of geometry proper‐
30 ties. A geometry property associates an arbitrary string with an
31 equally arbitrary name. Programs that display images of keyboards can
32 use geometry properties as hints, but they are not interpreted by Xkb.
33 No other geometry structures refer to geometry properties.
34
35 XkbAddGeomOverlayKey adds one key to the row in the overlay. If there
36 is no key named under in the row of the underlying section, XkbAddGeo‐
37 mOverlayKey returns NULL.
38
40 typedef struct _XkbOverlayKey {
41 XkbKeyNameRec over; /* name of this overlay key */
42 XkbKeyNameRec under; /* name of the key under this overlay key */
43 } XkbOverlayKeyRec,*XkbOverlayKeyPtr;
44
45
46
47
48X Version 11 libX11 1.8.7 XkbAddGeomOverlayKey(3)