Enum DragAction¶
Defined in File slint_enums.h
Enum Documentation¶
-
enum class slint::language::DragAction¶
This enum describes the action negotiated between the source of a drag (
DragArea) and its target (DropArea) during a drag-and-drop operation. The source declares which actions it permits, the target picks one in itscan-dropcallback, and the chosen action is reported back to the source viadrag-finishedso that, for example, amovesource can remove the original data. The same enum is used for drags that come from another application or window once native drag-and-drop is in play.Values:
-
enumerator None¶
No action: the drag is rejected, no drop will be delivered.
-
enumerator Copy¶
The data is copied to the target; the source retains it.
-
enumerator Move¶
The data is moved to the target; the source should remove it once the operation completes.
-
enumerator Link¶
A link to the source data is created at the target; neither side gives up ownership.
-
enumerator None¶