drag_set_icon_stock


Description:


[ Version ( deprecated = true , deprecated_since = "3.10" ) ]
public void drag_set_icon_stock (DragContext context, string stock_id, int hot_x, int hot_y)

Warning: drag_set_icon_stock is deprecated since 3.10.

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

Note:

Use drag_set_icon_name instead.

Parameters:

context

the context for a drag (This must be called with a context for the source side of a drag)

stock_id

the ID of the stock icon to use for the drag

hot_x

the X offset within the icon of the hotspot

hot_y

the Y offset within the icon of the hotspot


Namespace: Gtk
Package: gtk+-3.0



2022 vala-language.org