XkbAllocKeyboard(3) - phpMan

Command: man perldoc info search(apropos)  


XkbAllocKeyboard(3)                       XKB FUNCTIONS                       XkbAllocKeyboard(3)



NAME
       XkbAllocKeyboard -  Creates a keyboard description from scratch

SYNOPSIS
       XkbDescRec XkbAllocKeyboard (void);

DESCRIPTION
       Applications  seldom  need to directly allocate a keyboard description; calling XkbGetKey-
       board usually suffices. In the event you  need  to  create  a  keyboard  description  from
       scratch, however, use XkbAllocKeyboard rather than directly calling malloc.

       If  XkbAllocKeyboard  fails to allocate the keyboard description, it returns NULL.  Other-
       wise, it returns a pointer to an empty keyboard  description  structure.  The  device_spec
       field  will have been initialized to XkbUseCoreKbd. You may then either fill in the struc-
       ture components or use Xkb functions to obtain values for the structure components from  a
       keyboard device.

SEE ALSO
       malloc(3F), XkbUseCoreKbd(3), XkbGetKeyboard(3)





X Version 11                               libX11 1.6.7                       XkbAllocKeyboard(3)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-04-23 23:40 @18.221.165.246 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!