Tooltip.setIconFromStock

Warning gtk_tooltip_set_icon_from_stock has been deprecated since version 3.10 and should not be used in newly-written code. Use gtk_tooltip_set_icon_from_icon_name() instead. 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. Since 2.12

class Tooltip
void
setIconFromStock

Parameters

stockId string

a stock id, or NULL. [allow-none]

size GtkIconSize

a stock icon size. [type int]

Meta