set_from_icon_name


Description:

public bool set_from_icon_name (Widget? widget, string icon_name, IconSize icon_size) throws Error

Sets the contents of this using the icon_name from the current icon theme.

Parameters:

this

a Texture

widget

a Widget or null

icon_name

the name of the icon

icon_size

the icon size or -1

Returns:

true on success, false on failure