National Instruments 320682C Musical Toy Instrument User Manual


 
Chapter 9 X Property Library
© National Instruments Corporation 9-27 LabWindows/CVI Standard Libraries
default root window of the display used by LabWindows/CVI. Use &CVIXHiddenWindow to
specify the hidden window associated with your application.
If numberofProperties is 0 or the propertyList value is ANY_X_PROPERTY, the callback
function is called whenever any property changes on any of the windows in the windowList.
The values in the propertyList array must have been obtained with CreateXProperty.
To specify a single property, named
prop
, pass the expression &
prop
for this parameter and
pass 1 for the numberOfProperties. If this value is ANY_X_PROPERTY or the
numberOfProperties is 0, the callback function is called whenever any property changes on any
of the windows in the windowList.
See Also
Refer to the Xlib Programming Manual or to Xlib—C Language X Interface, MIT X Consortium
Standard for more information about the PropertyNotify event.
PutXWindowPropertyItem
PropLibXErrType status = PutXWindowPropertyItem (DisplayPtrX display,
WindowX window, PropertyHandleX property,
void *propertyItem);
Purpose
This function stores the supplied property item with the specified property on the window. Any
existing property value is replaced by this value.
To store multiple property items, use the function PutXWindowPropertyValue.
Parameters
Input
display
DisplayPtrX
A pointer to the display of the X server to
which the window belongs.
window
WindowX
The window on which the property item is to
be stored.
property
PropertyHandleX
Handle of the property to be stored. This
value must have been obtained with
CreateXProperty.
propertyItem
generic pointer Property item to be stored on the window.
This parameter must point to an object of the
same size as a property item. You can get
the property item size by calling the function
GetXPropertySize.