set_icon_from_stock


Description:

[ Version ( deprecated = true , deprecated_since = "3.10" , since = "2.12" ) ]
public void set_icon_from_stock (string? stock_id, int size)

Warning: set_icon_from_stock is deprecated since 3.10.

Sets the icon of the tooltip (which is in front of the text) to be the stock item indicated by stock_id with the size indicated by size.

Note:

If stock_id is null, the image will be hidden.

Parameters:

this

a Tooltip

stock_id

a stock id, or null

size

a stock icon size (IconSize)




2022 vala-language.org