wl_data_source_listener

offer to transfer data

The wl_data_source object is the source side of a wl_data_offer. It is created by the source client in a data transfer and provides a way to describe the offered data and a way to respond to requests to transfer the data.

Members

Variables

cancelled
void function(void* data, wl_data_source* wl_data_source) cancelled;

selection was cancelled

send
void function(void* data, wl_data_source* wl_data_source, const(char)* mime_type, int fd) send;

send the data

target
void function(void* data, wl_data_source* wl_data_source, const(char)* mime_type) target;

a target accepts an offered mime type

Meta