Struct wayland_client::wayland::data_device::WlDataDeviceManager
[−]
[src]
pub struct WlDataDeviceManager { // some fields omitted }
data transfer interface
The wl_data_device_manager is a singleton global object that provides access to inter-client data transfer mechanisms such as copy-and-paste and drag-and-drop. These mechanisms are tied to a wl_seat and this interface lets a client get a wl_data_device corresponding to a wl_seat.
Methods
impl WlDataDeviceManager
fn create_data_source(&self) -> WlDataSource
create a new data source
Create a new data source.
fn get_data_device(&self, seat: &WlSeat) -> WlDataDevice
create a new data device
Create a new data device for a given seat.