Function smithay::wayland::data_device::set_data_device_selection[][src]

pub fn set_data_device_selection(seat: &Seat, mime_types: Vec<String>)
Expand description

Set a compositor-provided selection for this seat

You need to provide the available mime types for this selection.

Whenever a client requests to read the selection, your callback will receive a DataDeviceEvent::SendSelection event.