[ 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
.
Use set_from_icon_name instead.
See StatusIcon.from_stock for details.
this | |
stock_id |
a stock icon id |