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

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.

Trait Implementations

impl Sync for WlDataDeviceManager
[src]

impl Send for WlDataDeviceManager
[src]

impl Proxy for WlDataDeviceManager
[src]

fn ptr(&self) -> *mut wl_proxy

fn interface() -> *mut wl_interface

fn interface_name() -> &'static str

The internal name of this interface, as advertized by the registry if it is a global.

fn version() -> u32

The maximum version of this interface handled by the library.

fn id(&self) -> ProxyId

Get the id of this proxy

unsafe fn from_ptr(ptr: *mut wl_proxy) -> WlDataDeviceManager

Creates a proxy from a fresh ptr

unsafe fn from_ptr_no_own(ptr: *mut wl_proxy) -> WlDataDeviceManager

Creates a proxy from a ptr that is managed elsewhere Read more

fn set_evt_iterator(&mut self, evt: &EventIterator)

Set the event iterator associated to this proxy

impl Debug for WlDataDeviceManager
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl Drop for WlDataDeviceManager
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more