[][src]Trait wayland_protocols::unstable::primary_selection::v1::client::zwp_primary_selection_device_v1::RequestsTrait

pub trait RequestsTrait {
    fn set_selection(
        &self,
        source: Option<&Proxy<ZwpPrimarySelectionSourceV1>>,
        serial: u32
    );
fn destroy(&self); }

Required methods

fn set_selection(
    &self,
    source: Option<&Proxy<ZwpPrimarySelectionSourceV1>>,
    serial: u32
)

set the primary selection

Replaces the current selection. The previous owner of the primary selection will receive a wp_primary_selection_source.cancelled event.

To unset the selection, set the source to NULL.

fn destroy(&self)

destroy the primary selection device

Destroy the primary selection device.

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

Loading content...

Implementors

Loading content...