dragSetIconWidget

fnvoid dragSetIconWidget(gdk.drag_context.DragContext context, gtk.widget.Widget widget, int hotX, int hotY)

Changes the icon for drag operation to a given widget. GTK+ will not destroy the widget, so if you don’t want it to persist, you should connect to the “drag-end” signal and destroy it yourself.

Parameters

contextthe context for a drag. (This must be called with a context for the source side of a drag)
widgeta widget to use as an icon
hotXthe X offset within widget of the hotspot
hotYthe Y offset within widget of the hotspot