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