function beginDrag
source · line 4public
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.
parameter preview
source · line 8public
preview: DragPreview? = None
parameter localData
source · line 7public
localData: Any? = None
parameter receiver
source · line 4public
Window
parameter content
source · line 5public
content: DragContent
parameter effects
source · line 6public
effects: DragEffects = DragEffects(true, false, false)
parameter onCompleted
source · line 9public
onCompleted: (DragResult) -> Unit = {}