DragSource.setContent
void setContent(gdk.content_provider.ContentProvider content = null)Sets a content provider on a [gtk.drag_source.DragSource].
When the data is requested in the cause of a DND operation, it will be obtained from the content provider.
This function can be called before a drag is started, or in a handler for the [gtk.drag_source.DragSource.prepare] signal.
You may consider setting the content provider back to null in a signalGtk.DragSource::drag-end signal handler.
Parameters
content | a [gdk.content_provider.ContentProvider] |