Package: gtk

Function gtk-button-new-from-icon-name

Lambda List

gtk-button-new-from-icon-name (name size)

Arguments

name -- a string with the icon name
size -- a value of the gtk-icon-size enumeration

Return Value

A new gtk-button widget displaying the themed icon.

Details

Creates a new button containing an icon from the current icon theme. If the icon name is not known, a "broken image" icon will be displayed instead. If the current icon theme is changed, the icon will be updated appropriately.

This function is a convenience wrapper around the gtk-button-new and gtk-button-image functions.
 

See also

*2021-12-4