Skip to main content

Module drop

Module drop 

Source
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§

DropArea 🔒
DropAreaIvars 🔒

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 view or 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 view would 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 view to the drop area under it, answering whether one took them.