Package: gtk

Function gtk-drag-set-icon-stock

Lambda List

gtk-drag-set-icon-stock (context stock x y)

Arguments

context -- a gdk-drag-context object for a drag, this must be called with a drag context for the source side of a drag
stock -- a string with the ID of the stock icon to use for the drag
x -- an integer with the x offset within the icon of the hotspot
y -- an integer with the y offset within the icon of the hotspot

Details

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

Warning

The gtk-drag-set-icon-stock function has been deprecated since version 3.10 and should not be used in newly written code. Use the gtk-drag-set-icon-name function instead.
 

See also

2021-10-3