Adds a left tab marker to the ruler at the location clicked.
SDK
- macOS 10.0+
Framework
- App
Kit
Declaration
func rulerView(_ ruler: NSRuler View, handleMouseDownWith event: NSEvent)
Parameters
aRulerView
The ruler view sending the message.
theEvent
The mouse down event.
Discussion
A subclass can override this method to provide other behavior, such as creating guidelines. This method is invoked once with the
when the user first clicks the ruler area of a
, as described in the NSRuler
class specification.