DragIcon.setFromPaintable

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.

class DragIcon
static
void
setFromPaintable

Parameters

drag gdk.drag.Drag
paintable gdk.paintable.Paintable
hotX int

X coordinate of the hotspot

hotY int

Y coordinate of the hotspot