Product SiteDocumentation Site

A.8.2. Events provided by wl_data_device events

A.8.2.1. wl_data_device::data_offer - introduce a new wl_data_offer

The data_offer event introduces a new wl_data_offer object, which will subsequently be used in either the data_device.enter event (for drag and drop) or the data_device.selection event (for selections). Immediately following the data_device_data_offer event, the new data_offer object will send out data_offer.offer events to describe the mime-types it offers.
wl_data_device::data_offer arguments
id
Type: new_id