BeginDragDropSource

Drag and Drop - On source items, call BeginDragDropSource(), if it returns true also call SetDragDropPayload() + EndDragDropSource(). - On target candidates, call BeginDragDropTarget(), if it returns true also call AcceptDragDropPayload() + EndDragDropTarget(). - If you stop calling BeginDragDropSource() the payload is preserved however it won't have a preview tooltip (we currently display a fallback "..." tooltip, see #1725) - An item can be both drag source and drop target.

pure @nogc nothrow @trusted
bool
BeginDragDropSource
(
ImGuiDragDropFlags flags
)

Meta