1XkbAllocGeomOverlayRows(3) XKB FUNCTIONS XkbAllocGeomOverlayRows(3)
2
3
4
6 XkbAllocGeomOverlayRows - Allocate rows in a overlay
7
9 Status XkbAllocGeomOverlayRows (XkbOverlayPtr overlay, int num_needed);
10
12 - overlay
13 section for which rows should be allocated
14
15 - num_needed
16 number of new rows required
17
19 Xkb provides a number of functions to allocate and free subcomponents
20 of a keyboard geometry. Use these functions to create or modify key‐
21 board geometries. Note that these functions merely allocate space for
22 the new element(s), and it is up to you to fill in the values explic‐
23 itly in your code. These allocation functions increase sz_* but never
24 touch num_* (unless there is an allocation failure, in which case they
25 reset both sz_* and num_* to zero). These functions return Success if
26 they succeed, BadAlloc if they are not able to allocate space, or Bad‐
27 Value if a parameter is not as expected.
28
29 XkbAllocGeomOverlayRows allocates num_needed rows and adds them to the
30 overlay. No initialization of the rows is done.
31
32 To free rows in an overlay, use XkbFreeGeomOverlayRows.
33
35 BadAlloc Unable to allocate storage
36
37 BadValue An argument is out of range
38
40 XkbFreeGeomOverlayRows(3)
41
42
43
44X Version 11 libX11 1.6.4 XkbAllocGeomOverlayRows(3)