Function aflak_imgui_sys::igBeginDragDropSource [−][src]
pub unsafe extern "C" fn igBeginDragDropSource(
flags: ImGuiDragDropFlags,
mouse_button: c_int
) -> 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