setOnMouseExited(_:)
Sets whether the receiver accepts Mouseexited(with:) events.
Declaration
func setOnMouseExited(_ flag: Bool)Parameters
- flag:
True if the receiver accepts future Mouseexited(with:) event messages; otherwise it ignores them.
Discussion
Accepting mouseExited(with:) event messages allows the cursor to be made the current cursor when the cursor exits a view’s cursor rectangle.