XkbAllocGeomProps (3)
Leading comments
Copyright 1999 Oracle and/or its affiliates. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following condition...
NAME
XkbAllocGeomProps - Allocate geometry propertiesSYNOPSIS
-
Status XkbAllocGeomProps
(XkbGeometryPtr geom,
int num_needed);
ARGUMENTS
- - geom
- _summary_
- - num_needed
- _summary_
DESCRIPTION
XkbAllocGeomProps allocates space for num_needed properties and adds them to the specified geometry geom. No initialization of the properties is done. A geometry property associates an arbitrary string with an equally arbitrary name. Geometry properties can be used to provide hints to programs that display images of keyboards, but they are not interpreted by Xkb. No other geometry structures refer to geometry properties.
DIAGNOSTICS
- BadAlloc
- Unable to allocate storage
- BadValue
-
An argument is out of range