Tooltip.setIconFromStock

void setIconFromStock(string stockId, gtk.types.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. If stock_id is null, the image will be hidden.

Parameters

stockIda stock id, or null
sizea stock icon size (#GtkIconSize)

Deprecated

Use [gtk.tooltip.Tooltip.setIconFromIconName] instead.