Enum wayland_client::wayland::data_device::WlDataSourceEvent [] [src]

pub enum WlDataSourceEvent {
    Target(String),
    Send(StringRawFd),
    Cancelled,
}

Variants

Target(String)

a target accepts an offered mime type

Sent when a target accepts pointer_focus or motion events. If a target does not accept any of the offered types, type is NULL.

Used for feedback during drag-and-drop.

Values: mime_type,

Send(StringRawFd)

send the data

Request for data from the client. Send the data as the specified mime type over the passed file descriptor, then close it.

Values: mime_type, fd,

Cancelled

selection was cancelled

This data source has been replaced by another data source. The client should clean up and destroy this data source.

Trait Implementations

impl Debug for WlDataSourceEvent
[src]

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

Formats the value using the given formatter.