National Instruments 320682C Musical Toy Instrument User Manual


 
Chapter 9 X Property Library
© National Instruments Corporation 9-9 LabWindows/CVI Standard Libraries
See Also
Refer to the Xlib Programming Manual or to Xlib—C Language X Interface, MIT X Consortium
Standard for more information about the XOpenDisplay and DefaultRootWindow
functions.
_____________________________________________________________________________
CreateXProperty
PropLibXErrType status = CreateXProperty (const char *propertyName,
PropTypeHandleX propertyType,
PropertyHandleX *property);
Purpose
Create X property information.
Use this function to define the attributes of the properties that you read and write on X windows.
You must create properties with this function before you can access them on X windows.
Each property has a unique name and a type (created by CreateXPropType) that you cannot
change except by destroying the property and recreating it.
Note: You can create a maximum of 256 different properties.
Parameters
Input
propertyName
string Name of the property. Each property
name is unique and has a type, which
cannot be changed once the property is
created.
propertyType
PropTypeHandleX
Type of the property. This value must be
either a predefined type or a value returned
by CreateXPropType.
Output
property
PropertyHandleX
(passed by reference)
Handle to the property information
created. Use this value as the parameter to
other library functions to access the
property on X windows.