pub type FileDropState = FileDropDrag;Expand description
State of file(s) being dragged from OS over the window
DEPRECATED: Use DragContext with ActiveDragType::FileDrop instead.
Aliased Type§
#[repr(C)]pub struct FileDropState {
pub files: StringVec,
pub position: LogicalPosition,
pub drop_target: OptionDomNodeId,
pub drop_effect: DropEffect,
}Fields§
§files: StringVecFiles being dragged (as string paths)
position: LogicalPositionCurrent position of drag cursor
drop_target: OptionDomNodeIdDOM node under cursor (potential drop target)
drop_effect: DropEffectAllowed drop effect