DragAndDrop.dragSetIconGicon

Sets the icon for a given drag from the given @icon. See the documentation for gtk_drag_set_icon_name() for more details about using icons in drag and drop.

struct DragAndDrop
static
void
dragSetIconGicon

Parameters

context DragContext

the context for a drag (This must be called with a context for the source side of a drag)

icon IconIF

a #GIcon

hotX int

the X offset of the hotspot within the icon

hotY int

the Y offset of the hotspot within the icon

Meta