[−][src]Function imgui_sys::igBeginDragDropSource
pub unsafe extern "C" fn igBeginDragDropSource(
flags: ImGuiDragDropFlags
) -> bool
Call when current ID is active.
When this returns true you need to:
- call
igSetDragDropPayload
exactly once, - you may render the payload visual/description,
- pcall
igEndDragDropSource