National Instruments 320682C Musical Toy Instrument User Manual


 
Chapter 9 X Property Library
© National Instruments Corporation 9-25 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 XGetWindowProperty function.
InstallXPropertyCallback
PropLibXErrType status = InstallXPropertyCallback (DisplayPtrX display,
const WindowX windowList[],
unsigned int numberofWindows,
const PropertyHandleX propertyList[], unsigned
int numberofProperties,
const void *callbackData, PropertyCallbackTypeX
*callbackFunction);
Purpose
Install a property callback function.
The specified function is called whenever one of the specified properties on one of the specified
windows changes in any way. If more than one function is installed for the same property, the
functions are called in the reverse order in which they were installed.
If the function is already installed as a callback function, the list of windows and properties that
are associated with that function are replaced with those specified by the new installation.
Parameters
Input
display
DisplayPtrX
A pointer to the display of the
X server to which the window
belongs.
windowList
const WindowX []
An array of windows on which
the properties may exist.
numberofWindows
unsigned integer Number of windows in the
Window List. This value must
be greater than 0.
propertyList
const
PropertyCallbackTypeX []
An array of handles to
properties for which the
callback is called.
(continues)