Gtk.Widget::drag-data-get

function callback(widget, context:Gdk.DragContext, data:Gtk.SelectionData, info:Number, time:Number, ):void;

The ::drag-data-get signal is emitted on the drag source when the drop site requests the data which is dragged. It is the responsibility of the signal handler to fill data with the data in the format which is indicated by info. See Gtk.SelectionData.prototype.set and Gtk.SelectionData.prototype.set_text.

widget

instance of Gtk.Widget that is emitting the signal

context

the drag context

data

the Gtk.SelectionData to be filled with the dragged data

info

the info that has been registered with the target in the Gtk.TargetList

time

the timestamp at which the data was requested