Instance Method

draggingImageForRows(with:inColumn:with:offset:)

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

Declaration

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

Parameters

rowIndexes

Rows the user is dragging.

columnIndex

Column with the rows the user is dragging.

dragEvent

Mouse drag event.

dragImageOffset

Offset for the returned image:

Return Value

Image representing the visible cells identified by rowIndexes.

See Also

Dragging

func setDraggingSourceOperationMask(NSDragOperation, forLocal: Bool)

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

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

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