CmdWindowSetCursorIcon
Sets the system cursor icon for a window.
Platform Notes
- WASM: Not supported (returns
success=falsewith a message).
Arguments
| Field | Type | Description |
|---|---|---|
| windowId | u32 | ID of the window |
| icon | CursorIcon | Cursor icon enum value |
CursorIcon (Enum)
defaultcontext-menuhelppointerprogresswaitcellcrosshairtextvertical-textaliascopymoveno-dropnot-allowedgrabgrabbinge-resizen-resizene-resizenw-resizes-resizese-resizesw-resizew-resizeew-resizens-resizenesw-resizenwse-resizecol-resizerow-resizeall-scrollzoom-inzoom-out
Response
Returns CmdResultWindowSetCursorIcon:
| Field | Type | Description |
|---|---|---|
| success | bool | Whether the icon was set |
| message | String | Status or error message |
Documentation Vulfram Core