Skip to main content

Module drop_zone

Module drop_zone 

Expand description

DropZone: where files can be dropped (an import target, an image to flash, a book to add).

At rest the zone is a dashed edge derived from its ground around a centred icon, title and an optional line saying what it accepts. Only while a drag hovers it does it take colour: your colour on the edge and the text-selection tint inside, the same as every drop indicator. An optional action (“Choose files”) offers the same route without dragging.

DropZoneFace paints the same geometry for immediate-mode callers.

Structs§

DropZone
A retained drop zone. See the module docs.
DropZoneFace
Immediate-mode drop zone.