XkbResizeKeySyms
NAMESYNOPSIS
ARGUMENTS
DESCRIPTION
SEE ALSO
NOTES
NAME
XkbResizeKeySyms − Change the number of symbols bound to a key
SYNOPSIS
KeySym * XkbResizeKeySyms |
(XkbDescRec *xkb, int key, int needed); |
ARGUMENTS
− xkb |
keyboard description to be changed |
|||
− key |
keycode for key to modify |
− needed
new number of keysyms required for key
DESCRIPTION
XkbResizeKeySyms reserves the space needed for needed keysyms and returns a pointer to the beginning of the new array that holds the keysyms. It adjusts the offset field of the key_sym_map entry for the key if necessary and can also change the syms, num_syms, and size_syms fields of xkb->map if it is necessary to reallocate the syms array. XkbResizeKeySyms does not modify either the width or number of groups associated with the key.
If needed is greater than the current number of keysyms for the key, XkbResizeKeySyms initializes all new keysyms in the array to NoSymbol.
Because the number of symbols needed by a key is normally computed as width * number of groups, and XkbResizeKeySyms does not modify either the width or number of groups for the key, a discrepancy exists upon return from XkbResizeKeySyms between the space allocated for the keysyms and the number required. The unused entries in the list of symbols returned by XkbResizeKeySyms are not preserved across future calls to any of the map editing functions, so you must update the key symbol mapping (which updates the width and number of groups for the key) before calling another allocator function. A call to XkbChangeTypesOfKey will update the mapping.
If any allocation errors occur while resizing the number of symbols bound to the key, XkbResizeKeySyms returns NULL.
SEE ALSO
XkbChangeTypesOfKey(3), XkbResizeKeyActions(3)
NOTES
A change to the number of symbols bound to a key should be accompanied by a change in the number of actions bound to a key. Refer to XkbResizeKeyActions for more information on changing the number of actions bound to a key.
More Linux Commands
manpages/ustat.2.html
ustat(2) - get file system statistics - Linux manual page...
ustat() returns information about a mounted filesystem. dev is a device number identifying a device containing a mounted filesystem. ubuf is a pointer to a usta
manpages/systemd-hybrid-sleep.service.8.html
systemd-hybrid-sleep.service(8) System sleep state logic....
systemd-suspend.service is a system service that is pulled in by suspend.target and is responsible for the actual system suspend. Similarly, systemd-hibernate.s
manpages/plymouth-set-default-theme.1.html
plymouth-set-default-theme(1) Set the plymouth theme........
When called with a THEME argument, the plymouth-set-default-theme command changes the preferred boot theme and also performs the necessary regeneration of the i
manpages/mgrep.html
mgrep.1 - 301 Moved Permanently.......................
manpages/genpkey.1ssl.html
genpkey(1ssl) generate a private key - Linux manual page....
The genpkey command generates a private key. OPTIONS -out filename the output filename. If this argument is not specified then standard output is used. -outform
manpages/XkbFreeGeomOutlines.3.html
XkbFreeGeomOutlines(3) - Free geometry outlines (Man Page)
If free_all is True, all outlines are freed regardless of the value of first or count. Otherwise, count outlines are freed beginning with the one specified by f
manpages/wineconsole.1.html
wineconsole(1) - The Wine console - Linux manual page.......
wineconsole is the Wine console manager, used to run console commands and applications. It allows running the console either in the current terminal (curses) or
manpages/Tk_CanvasTagsOption.3.html
Tk_CanvasTagsOption(3) - utility procedures for canvas type
These procedures are called by canvas type managers to perform various utility functions. Tk_CanvasTkwin returns the Tk_Window associated with a particular canv
manpages/XFreeColors.3.html
XFreeColors(3) - allocate and free colors - Linux man page
The XAllocColor function allocates a read-only colormap entry corresponding to the closest RGB value supported by the hardware. XAllocColor returns the pixel va
manpages/insserv.8.html
insserv(8) - Enable an installed system init script.........
This version of insserv is just a stub for compatibility. It only reads the Default-Start property of LSB init script headers to enable init scripts. Anything e
manpages/innfeed.conf.5.html
innfeed.conf(5) - configuration file for innfeed (Man Page)
This man page describes the configuration file for version 1.0 of innfeed. This format has changed dramatically since version 0.9.3. The file innfeed.conf is us
manpages/perlsynology.1.html
perlsynology(1) Perl 5 on Synology DSM systems (Man Page)...
Synology manufactures a vast number of Network Attached Storage ( NAS ) devices that are very popular in large organisations as well as small businesses and hom
