Function

Gtkdrag_set_icon_stock

deprecated: 3.10 

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

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.
stock_id

Type: const gchar*

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

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

Type: gint

The X offset within the icon of the hotspot.

hot_y

Type: gint

The Y offset within the icon of the hotspot.