DragIcon.setFromPaintable

void setFromPaintable(gdk.drag.Drag drag, gdk.paintable.Paintable paintable, int hotX, int hotY)

Creates a [gtk.drag_icon.DragIcon] that shows paintable, and associates it with the drag operation.

The hotspot position on the paintable is aligned with the hotspot of the cursor.

Parameters

draga [gdk.drag.Drag]
paintablea [gdk.paintable.Paintable] to display
hotXX coordinate of the hotspot
hotYY coordinate of the hotspot