set_from_stock


Description:

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

Warning: set_from_stock is deprecated since 3.10.

Makes this display the stock icon with the id stock_id.

Note:

Use set_from_icon_name instead.

See StatusIcon.from_stock for details.

Parameters:

this

a StatusIcon

stock_id

a stock icon id