Package: gtk

Function gtk-button-new-from-stock

Lambda List

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

Arguments

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

Return Value

A new gtk-button widget.

Details

Creates a new button widget containing the image and text from a stock item. If stock is unknown, then it will be treated as a mnemonic label as for the gtk-button-new-with-mnemonic function.

Warning

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

See also

2021-12-4