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
drag | a gdk.drag.Drag |
paintable | a gdk.paintable.Paintable to display |
hotX | X coordinate of the hotspot |
hotY | Y coordinate of the hotspot |