Expand description
Drop targets: a hidden view that marks the area a stack’s drop target covers, and the dragging-destination work of the views widgets sit in, which take files and links once one of their stacks has a drop target.
Structs§
Functions§
- accept_
drops 🔒 - Lets
host, a view widgets sit in, take drags of files and links. - area_
under 🔒 - The drop area under the drag in
viewor the views around it, nearest first, since a scroll area’s content sits in a view of its own inside the stack around it. - drag_
operation 🔒 - What a drag over
viewwould do: copy, when a drop area is under it and it carries files or links. - dropped 🔒
- A file’s path, or a link’s address.
- dropped_
types 🔒 - The pasteboard types a drop target takes: files, and links.
- perform_
drop 🔒 - Gives the files and links of a drag dropped on
viewto the drop area under it, answering whether one took them.