Package org.freedesktop.wayland.client
Interface WlDataOfferEvents
- All Known Subinterfaces:
WlDataOfferEventsV2
,WlDataOfferEventsV3
public interface WlDataOfferEvents
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.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
offer
(WlDataOfferProxy emitter, String mimeType) advertise offered mime type
-
Field Details
-
VERSION
static final int VERSION- See Also:
-
-
Method Details
-
offer
advertise offered mime typeSent immediately after creating the wl_data_offer object. One event per offered mime type.
- Parameters:
emitter
- The protocol object that emitted the event.mimeType
- offered mime type
-