Package: gtk

Function gtk-tool-button-new-from-stock

Lambda List

gtk-tool-button-new-from-stock (stock)

Arguments

stock -- a string with the name of the stock item

Return Value

A new gtk-tool-button widget.

Details

Creates a new tool button containing the image and text from a stock item.

It is an error if the stock argument is not a name of a stock item.

Warning

The gtk-tool-button-new-from-stock function has been deprecated since version 3.10 and should not be used in newly written code. Use the gtk-tool-button-new function together with the gtk-image-new-from-icon-name function instead.
 

See also

2021-11-30