set_icon_from_icon_name


Description:

[ Version ( since = "2.14" ) ]
public void set_icon_from_icon_name (string? icon_name, int size)

Sets the icon of the tooltip (which is in front of the text) to be the icon indicated by icon_name with the size indicated by size.

If icon_name is null, the image will be hidden.

Parameters:

this

a Tooltip

icon_name

an icon name, or null

size

a stock icon size (IconSize)




2022 vala-language.org