An event dispatcher that emits an event when a cursor is added or removed.
A constant representing the high priority cursors.
A constant representing the lowest priority cursors.
A constant representing a priority between LOW_PRIORITY
and
HIGH_PRIORITY
.
Adds a cursor to the cursor manager, and returns an identifier that can be used to remove the cursor.
The cursor to add.
The priority of the cursor. Higher values have higher priority over lower values.
An identifier for the cursor.
Returns the active cursor based on priority and insertion order.
The cursor manager maintains a prioritized list of cursors for the viewer.
Cursors with the highest priority will be considered active, where the most recently added cursor will take precedence if there are multiple cursors with the same priority.