Method

GtkWidgetdrag_source_set_icon_stock

Declaration [src]

void
gtk_drag_source_set_icon_stock (
  GtkWidget* widget,
  const gchar* stock_id
)

Description [src]

Sets the icon that will be used for drags from a particular source to a stock icon.

Deprecated since:3.10

Use gtk_drag_source_set_icon_name() instead.

Parameters

stock_id const gchar*
 

The ID of the stock icon to use.

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