WwSetCursor Function
Sets the cursor for a widget.
Usage
status = WwSetCursor(wid, cursor)
Input Parameters
wid — The widget ID.
cursor — The name of the cursor or the cursor index. For a list of cursors, see Appendix C: Widget Toolbox Cursors in the PV‑WAVE Application Developer’s Guide.
Returned Value
status — A value indicating success or failure of the function.
*1 — Indicates success.
*0 — Indicates failure.
Keywords
Default — If nonzero, sets the default cursor for the widget.
Wait — If nonzero, sets the wait cursor for the widget.
Example
For an example of WwSetCursor, see the example for the WwGetPosition Function.
See Also