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,  _Xconst  char
11              *name, _Xconst char *value);
12

ARGUMENTS

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

DESCRIPTION

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       XkbAddGeomProperty  adds one property with the specified name and value
36       to the keyboard geometry specified by geom. XkbAddGeomProperty  returns
37       NULL  if  any of the parameters is empty or if it was not able to allo‐
38       cate space for the property. To allocate space for an arbitrary  number
39       of properties, use the XkbAllocGeomProps function.
40

STRUCTURES

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

SEE ALSO

49       XkbAllocGeomProps(3)
50
51
52
53X Version 11                     libX11 1.8.7            XkbAddGeomProperty(3)
Impressum