set_icon_from_stock


Description:

public void set_icon_from_stock (string stock_id, IconSize size)

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)