[][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:

  1. call igSetDragDropPayload exactly once,
  2. you may render the payload visual/description,
  3. pcall igEndDragDropSource