Package: gtk

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

Lambda List

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

Arguments

name -- a string for the icon name
size -- a gtk:icon-size value

Return Value

The 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

2025-06-28