Package: gtk

Function gtk-tooltip-set-icon-from-stock

Lambda List

gtk-tooltip-set-icon-from-stock (tooltip stock-id icon-size)

Arguments

tooltip -- a gtk-tooltip object
stock-id -- a string with the stock ID, or nil
icon-size -- a icon size of type gtk-icon-size

Details

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 icon-size. If stock-id is nil, the image will be hidden.

Warning

The gtk-tooltip-set-icon-from-stock function has been deprecated since version 3.10 and should not be used in newly written code. Use the gtk-tooltip-set-icon-from-icon-name function instead.
 

See also

2020-6-3