zng::drag_drop

Function draggable

source
pub fn draggable(child: impl UiNode, input: impl IntoVar<bool>) -> impl UiNode
Expand description

P If this widget can be dragged in a drag&drop operation.

When this is true the widget can be dragged and dropped within the same app or it can handle on_drag_start and use the DRAG_DROP.drag service to set a system wide drag data.