The most recent call to overrideCursor takes precedence.
Disposing an old override has no effect on the current override.
This utility function is used by the Drag class to override the
mouse cursor during a drag-drop operation, but it can also be used
by other classes to fix the cursor icon during normal mouse drags.
Override the cursor icon for the entire document.
Returns
A disposable which will clear the override when disposed.
Notes
The most recent call to
overrideCursortakes precedence. Disposing an old override has no effect on the current override.This utility function is used by the
Dragclass to override the mouse cursor during a drag-drop operation, but it can also be used by other classes to fix the cursor icon during normal mouse drags.Example