Button.from_icon_name


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public Button.from_icon_name (string icon_name)

Creates a new button containing 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 `GtkButton` displaying the themed icon