1XkbFreeGeomRows(3) XKB FUNCTIONS XkbFreeGeomRows(3)
2
3
4
6 XkbFreeGeomRows - Free rows in a section
7
9 void XkbFreeGeomRows (XkbSectionPtr section, int first, int count, Bool
10 free_all);
11
13 - section
14 section in which rows should be freed
15
16 - first
17 first row to be freed
18
19 - count
20 number of rows to be freed
21
22 - free_all
23 True => all rows are freed
24
26 Xkb provides a number of functions to allocate and free subcomponents
27 of a keyboard geometry. Use these functions to create or modify key‐
28 board geometries. Note that these functions merely allocate space for
29 the new element(s), and it is up to you to fill in the values explic‐
30 itly in your code. These allocation functions increase sz_* but never
31 touch num_* (unless there is an allocation failure, in which case they
32 reset both sz_* and num_* to zero). These functions return Success if
33 they succeed, BadAlloc if they are not able to allocate space, or Bad‐
34 Value if a parameter is not as expected.
35
36 If free_all is True, all rows are freed regardless of the value of
37 first and count. Otherwise, the number of rows specified by count are
38 freed, beginning with the row specified by first in the specified sec‐
39 tion.
40
42 Success The XkbFreeGeomRows function returns Success when there
43 are no allocation or argument errors.
44
46 BadAlloc Unable to allocate storage
47
48 BadValue An argument is out of range
49
50
51
52X Version 11 libX11 1.6.7 XkbFreeGeomRows(3)