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

NAME

6       XkbAddGeomProperty  - Add one property to an existing keyboard geometry
7       description
8

SYNOPSIS

10       XkbPropertyPtr XkbAddGeomProperty  (XkbGeometryPtr  geom,  char  *name,
11              char *value);
12

ARGUMENTS

14       - geom geometry to be updated
15
16       - name name of the new property
17
18       - value
19              value for the new property
20

DESCRIPTION

22       Xkb  provides  functions  to  add a single new element to the top-level
23       keyboard geometry. In each case the num_ * fields of the  corresponding
24       structure  is  incremented  by  1.  These  functions do not change sz_*
25       unless there is no more room in the array. Some of these functions fill
26       in  the values of the element's structure from the arguments. For other
27       functions, you must explicitly write code to fill the structure's  ele‐
28       ments.
29
30       The  top-level geometry description includes a list of geometry proper‐
31       ties.  A geometry property  associates  an  arbitrary  string  with  an
32       equally  arbitrary  name. Programs that display images of keyboards can
33       use geometry properties as hints, but they are not interpreted by  Xkb.
34       No other geometry structures refer to geometry properties.
35
36       XkbAddGeomProperty  adds one property with the specified name and value
37       to the keyboard geometry specified by geom. XkbAddGeomProperty  returns
38       NULL  if  any of the parameters is empty or if it was not able to allo‐
39       cate space for the property. To allocate space for an arbitrary  number
40       of properties, use the XkbAllocGeomProps function.
41

STRUCTURES

43           typedef struct _XkbProperty {
44               char *         name;       /∗ property name */
45               char *         value;      /∗ property value */
46           } XkbPropertyRec,*XkbPropertyPtr;
47
48

SEE ALSO

50       XkbAllocGeomProps(3)
51
52
53
54X Version 11                     libX11 1.6.7            XkbAddGeomProperty(3)
Impressum