Contents

browser(_:draggingImageForRowsWith:inColumn:with:offset:)

Sent to the delegate to obtain an image to represent dragged rows during a drag operation on a browser.

Declaration

@MainActor optional func browser(_ browser: NSBrowser, draggingImageForRowsWith rowIndexes: IndexSet, inColumn column: Int, with event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage?

Parameters

  • browser:

    The browser.

  • rowIndexes:

    The indexes of the rows the user is dragging.

  • column:

    The column containing the rows the user is dragging.

  • event:

    The drag event.

  • dragImageOffset:

    The offset for the returned image:

Return Value

An image representing the visible rows identified by rowIndexes.

See Also

Related Documentation

Dragging