Instance Method


Requests permission for aRulerView to move aMarker.


- (BOOL)rulerView:(NSRulerView *)ruler shouldMoveMarker:(NSRulerMarker *)marker;


If the client returns YES the ruler view allows the user to move the marker; if the client returns NO the marker doesn’t move.

The user’s ability to move a marker is typically set on the marker itself, using NSRulerMarker’s movable method. You should use this client view method only when the marker’s movability can vary depending on a variable condition (for example, if graphic items can be locked down to prevent them from being inadvertently moved).

See Also