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

NAME

6       XkbAllocKeyboard -  Creates a keyboard description from scratch
7

SYNOPSIS

9       XkbDescRec XkbAllocKeyboard (void);
10

DESCRIPTION

12       Applications  seldom  need to directly allocate a keyboard description;
13       calling XkbGetKeyboard usually suffices. In the event you need to  cre‐
14       ate  a keyboard description from scratch, however, use XkbAllocKeyboard
15       rather than directly calling malloc.
16
17       If XkbAllocKeyboard fails to allocate the keyboard description, it  re‐
18       turns  NULL.   Otherwise, it returns a pointer to an empty keyboard de‐
19       scription structure. The device_spec field will have  been  initialized
20       to  XkbUseCoreKbd. You may then either fill in the structure components
21       or use Xkb functions to obtain values for the structure components from
22       a keyboard device.
23

SEE ALSO

25       malloc(3F), XkbUseCoreKbd(3), XkbGetKeyboard(3)
26
27
28
29
30
31X Version 11                     libX11 1.8.7              XkbAllocKeyboard(3)
Impressum