Function

Gtkdrag_set_icon_gicon

Declaration [src]

void
gtk_drag_set_icon_gicon (
  GdkDragContext* context,
  GIcon* icon,
  gint hot_x,
  gint hot_y
)

Description [src]

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.

Available since:3.2

Parameters

context GdkDragContext
 

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

 The data is owned by the caller of the function.
icon GIcon
 

A GIcon.

 The data is owned by the caller of the function.
hot_x gint
 

The X offset of the hotspot within the icon.

hot_y gint
 

The Y offset of the hotspot within the icon.