Skip to main content

drag_rows

Function drag_rows 

Source
pub fn drag_rows(
    table: &NSTableView,
    rows: &[usize],
) -> Option<Retained<NSPasteboard>>
Expand description

Starts a drag of table’s view rows rows the way AppKit does (asking the data source for each row’s pasteboard writer) and puts them on a private pasteboard. None if the table doesn’t let rows be dragged.