pub fn start_dnd<T: 'static, R: 'static, M: 'static>(
clipboard: &mut dyn Clipboard,
internal: bool,
source_surface: Option<DndSource>,
icon_surface: Option<(Element<'static, M, T, R>, State)>,
content: Box<dyn AsMimeTypes + Send + 'static>,
actions: DndAction,
)
Expand description
Starts a DnD operation. icon surface is a tuple of the icon element and optionally the icon element state.