DragAndDrop.setIconStock

Warning gtk_drag_set_icon_stock has been deprecated since version 3.10 and should not be used in newly-written code. Use gtk_drag_set_icon_name() instead. Sets the icon for a given drag from a stock ID.

class DragAndDrop
void
setIconStock
(
string stockId
,
int hotX
,
int hotY
)

Parameters

stockId string

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

hotX int

the X offset within the icon of the hotspot.

hotY int

the Y offset within the icon of the hotspot.

Meta