Scoop API

scoop:scoop.window:0.1.0

beginDrag

function beginDrag

source · line 4
public
public fun Window.beginDrag(content: DragContent, effects: DragEffects = DragEffects(true, false, false), localData: Any? = None, preview: DragPreview? = None, onCompleted: (DragResult) -> Unit = {}): DragSession

Extension receiver: Window

Begins native data dragging from the currently dispatched mouse or direct-contact input.