dragSetIconGicon

fnvoid dragSetIconGicon(gdk.drag_context.DragContext context, gio.icon.Icon icon, int hotX, int hotY)

Sets the icon for a given drag from the given icon. See the documentation for [gtk.global.dragSetIconName] for more details about using icons in drag and drop.

Parameters

contextthe context for a drag (This must be called with a context for the source side of a drag)
icona #GIcon
hotXthe X offset of the hotspot within the icon
hotYthe Y offset of the hotspot within the icon