Function

Gtkdrag_set_icon_stock

Declaration [src]

void
gtk_drag_set_icon_stock (
  GdkDragContext* context,
  const gchar* stock_id,
  gint hot_x,
  gint hot_y
)

Description [src]

Sets the icon for a given drag from a stock ID.

Deprecated since:3.10

Use gtk_drag_set_icon_name() instead.

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.
stock_id const gchar*
 

The ID of the stock icon to use for the drag.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
hot_x gint
 

The X offset within the icon of the hotspot.

hot_y gint
 

The Y offset within the icon of the hotspot.