Package: gtk

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

Lambda List

gtk:tooltip-set-icon-from-stock (tooltip stockid size)

Arguments

tooltip -- a gtk:tooltip object
stockid -- a string with the stock ID, or nil
size -- a gtk:icon-size value for the icon size

Details

Sets the icon of the tooltip, which is in front of the text, to be the stock item indicated by stockid with the size indicated by size. If stockid 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

#2023-2-23