[][src]Trait wayland_protocols::wlr::unstable::data_control::v1::client::zwlr_data_control_source_v1::RequestsTrait

pub trait RequestsTrait {
    fn offer(&self, mime_type: String);
fn destroy(&self); }

Required methods

fn offer(&self, mime_type: String)

add an offered MIME type

This request adds a MIME type to the set of MIME types advertised to targets. Can be called several times to offer multiple types.

Calling this after wlr_data_control_device.set_selection is a protocol error.

fn destroy(&self)

destroy this source

Destroys the data source object.

This is a destructor, you cannot send requests to this object any longer once this method is called.

Loading content...

Implementations on Foreign Types

impl RequestsTrait for Proxy<ZwlrDataControlSourceV1>[src]

Loading content...

Implementors

Loading content...