acceptDrop

Make a Frame node accept nodes via drag & drop.

Note: Currently, not all Frames support drag & drop. Using it for nodes that doesn't explicitly state support might cause undefined behavior.

@safe
acceptDrop
(
tags...
)
(
Selector selector = Selector.init
)

Parameters

tags

Restrict dropped nodes to those that have the given tag.

selector Selector

Selector to limit nodes that the frame accepts. Optional — Tags are often enough.

Meta