DragAndDrop.sourceSetIconStock

Warning gtk_drag_source_set_icon_stock has been deprecated since version 3.10 and should not be used in newly-written code. Use gtk_drag_source_set_icon_name() instead. Sets the icon that will be used for drags from a particular source to a stock icon.

class DragAndDrop
static
void
sourceSetIconStock

Parameters

widget Widget

a GtkWidget

stockId string

the ID of the stock icon to use

Meta