set_from_stock


Description:

[ Version ( deprecated = true , deprecated_since = "3.10" ) ]
public void set_from_stock (string stock_id, IconSize size)

Warning: set_from_stock is deprecated since 3.10.

See Image.from_stock for details.

Note:

Use set_from_icon_name instead.

Parameters:

this

a Image

stock_id

a stock icon name

size

a stock icon size (IconSize)