Image.from_gicon


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public Image.from_gicon (Icon icon)

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

an icon

Returns:

a new `GtkImage` displaying the themed icon