Type Property


Returns the time, in seconds, in which a second mouse click must occur in order to be considered a double click.


class var doubleClickInterval: TimeInterval { get }

Return Value

The double-click time interval, in seconds.


This is a system setting, overriding this method will have no effect.

See Also

Getting Mouse Event Information

class var pressedMouseButtons: Int

Returns the indices of the currently depressed mouse buttons.

class var mouseLocation: NSPoint

Reports the current mouse position in screen coordinates.

var buttonNumber: Int

The button number for a mouse event.

var clickCount: Int

The number of mouse clicks associated with a mouse-down or mouse-up event.

var associatedEventsMask: NSEvent.EventTypeMask

The associated events mask of a mouse event.