Instance Method

canDragRows(with:inColumn:with:)

Indicates whether the browser can attempt to initiate a drag of the given rows for the given event.

Declaration

func canDragRows(with rowIndexes: IndexSet, inColumn column: Int, with event: NSEvent) -> Bool

Parameters

rowIndexes

Rows the user is dragging

columnIndex

Column containing the rows the user is dragging.

dragEvent

Mouse-drag event.

Return Value

true when rowIndexes identifies at least one row and all the identified rows are enabled; otherwise, false.

See Also

Dragging

func setDraggingSourceOperationMask(NSDragOperation, forLocal: Bool)

Specifies the drag-operation mask for dragging operations with local or external destinations.

func draggingImageForRows(with: IndexSet, inColumn: Int, with: NSEvent, offset: NSPointPointer?) -> NSImage?

Provides an image to represent dragged rows during a drag operation on the browser.