wl_data_offer_listener

offer to transfer data

A wl_data_offer represents a piece of data offered for transfer by another client (the source client). It is used by the copy-and-paste and drag-and-drop mechanisms. The offer describes the different mime types that the data can be converted to and provides the mechanism for transferring the data directly from the source client.

Members

Variables

action
void function(void* data, wl_data_offer* wl_data_offer, uint dnd_action) action;

notify the selected action

offer
void function(void* data, wl_data_offer* wl_data_offer, const(char)* mime_type) offer;

advertise offered mime type

source_actions
void function(void* data, wl_data_offer* wl_data_offer, uint source_actions) source_actions;

notify the source-side available actions

Meta