Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

Debian 7.3.0

(Wheezy)

XkbGetKeyboard(3)


XkbGetKeyboard

XkbGetKeyboard

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
DIAGNOSTICS

NAME

XkbGetKeyboard − Retrieves one or more components of a keyboard device description

SYNOPSIS

XkbDescPtr XkbGetKeyboard

(Display *display, unsigned int which,

unsigned int device_spec);

ARGUMENTS

display

connection to the X server

device_spec

device ID, or XkbUseCoreKbd

bits_to_change

determines events to be selected / deselected

values_for_bits

1=>select, 0->deselect; for events in bits_to_change

DESCRIPTION

XkbGetKeyboard allocates and returns a pointer to a keyboard description. It queries the server for those components specified in the which parameter for device device_spec and copies the results to the XkbDescRec it allocated. The remaining fields in the keyboard description are set to NULL. The valid masks for which are those listed in Table 1.

Image /web_man_pages/man_unzipped/en/debian/7/7.31.png

XkbGetKeyboard is used to read the current description for one or more components of a keyboard device. It calls XkbGetKeyboardByName as follows:

XkbGetKeyboardByName(dpy, device_spec, NULL, which, which, False).

DIAGNOSTICS

BadAlloc

Unable to allocate storage



XkbGetKeyboard(3)