National Instruments 320682C Musical Toy Instrument User Manual


 
X Property Library Chapter 9
LabWindows/CVI Standard Libraries 9-20 © National Instruments Corporation
GetXWindowPropertyItem
PropLibXErrType
status = GetXWindowPropertyItem
(DisplayPtrX
display
,
WindowX
window
,
PropertyHandleX
property
,
void
*
propertyItem
)
;
Purpose
Get a single property item from a window.
This function obtains the value of the specified property on the window and copies a single item
into the supplied buffer. When there are more than one item in the property value, this function
obtains only the first one. This function does not change the property value.
If the property does not exist on the window, this function reports the
MissingPropertyXErr error.
Use the function GetXWindowPropertyValue to get multiple property items.
Parameters
Input
display
DisplayPtrX
A pointer to the display of the X server to
which the window belongs.
window
WindowX
The window from which the property
item is to be obtained.
property
PropertyHandleX
Handle of the property to be obtained.
This value must have been obtained with
CreateXProperty.
Output
propertyItem
generic pointer Property item obtained from window.