Widget.dragGetData

void dragGetData(gdk.drag_context.DragContext context, gdk.atom.Atom target, uint time)

Gets the data associated with a drag. When the data is received or the retrieval fails, GTK+ will emit a #GtkWidget::drag-data-received signal. Failure of the retrieval is indicated by the length field of the selection_data signal parameter being negative. However, when [gtk.widget.Widget.dragGetData] is called implicitely because the [gtk.types.DestDefaults.Drop] was set, then the widget will not receive notification of failed drops.

Parameters

contextthe drag context
targetthe target (form of the data) to retrieve
timea timestamp for retrieving the data. This will generally be the time received in a #GtkWidget::drag-motion or #GtkWidget::drag-drop signal