DragSource.setIcon
void setIcon(gdk.paintable.Paintable paintable, int hotX, int hotY)Sets a paintable to use as icon during DND operations.
The hotspot coordinates determine the point on the icon that gets aligned with the hotspot of the cursor.
If paintable is null, a default icon is used.
This function can be called before a drag is started, or in a [gtk.drag_source.DragSource.prepare] or signalGtk.DragSource::drag-begin signal handler.
Parameters
paintable | the [gdk.paintable.Paintable] to use as icon |
hotX | the hotspot X coordinate on the icon |
hotY | the hotspot Y coordinate on the icon |