Image.from_icon_name
Description:
[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public Image.from_icon_name (string? icon_name)
public Image.from_icon_name (string? icon_name)
Creates a `GtkImage` displaying an icon from the current icon theme.
If the icon name isn’t known, a “broken image” icon will be displayed instead. If the current icon theme is changed, the icon will be updated appropriately.
Parameters:
icon_name |
an icon name |
Returns:
a new `GtkImage` displaying the themed icon |