acceptsFirstMouse(for:)
Returns a Boolean value indicating whether the receiver accepts the first mouse.
Declaration
func acceptsFirstMouse(for event: NSEvent?) -> BoolParameters
- event:
This parameter is ignored.
Return Value
false if the selection mode of the receiver is NSListModeMatrix, true if the receiver is in any other selection mode. The receiver does not accept first mouse in NSListModeMatrix to prevent the loss of multiple selections.