[][src]Trait wayland_protocols::unstable::primary_selection::v1::client::zwp_primary_selection_source_v1::EventHandler

pub trait EventHandler {
    fn send(
        &mut self,
        object: ZwpPrimarySelectionSourceV1,
        mime_type: String,
        fd: RawFd
    ) { ... }
fn cancelled(&mut self, object: ZwpPrimarySelectionSourceV1) { ... } }

An interface for handling events.

Provided methods

fn send(
    &mut self,
    object: ZwpPrimarySelectionSourceV1,
    mime_type: String,
    fd: RawFd
)

send the primary selection contents

Request for the current primary selection contents from the client. Send the specified mime type over the passed file descriptor, then close it.

fn cancelled(&mut self, object: ZwpPrimarySelectionSourceV1)

request for primary selection contents was canceled

This primary selection source is no longer valid. The client should clean up and destroy this primary selection source.

Loading content...

Implementors

Loading content...