Package: gtk

Function gtk-drag-data

Lambda List

gtk-drag-data (widget context target time)

Arguments

widget -- the gtk-widget object that will receive the "drag-data-received" signal
context -- a gdk-drag-context object
target -- an atom as a string with the target, form of the data, to retrieve
time -- an unsigned integer with the timestamp for retrieving the data, this will generally be the time received in a "drag-motion" or "drag-drop" signal

Details

Gets the data associated with a drag. When the data is received or the retrieval fails, GTK will emit a "drag-data-received" signal. Failure of the retrieval is indicated by the length field of the selection signal parameter being negative. However, when the gtk-drag-data function is called implicitely because the :drop flag was set, then the widget will not receive notification of failed drops.
 

See also

2021-10-3