Function
Gtkdrag_set_icon_gicon
since: 3.2
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
-
Type:
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
-
Type:
GIcon
A
GIcon
.The data is owned by the caller of the function. hot_x
-
Type:
gint
The X offset of the hotspot within the icon.
hot_y
-
Type:
gint
The Y offset of the hotspot within the icon.