Package: gtk

Function gtk-image-get-stock

Lambda List

gtk-image-get-stock (image)

Arguments

image -- a gtk-image widget

Return Value

stock-id -- a string with a stock icon name
size -- a stock icon size of type gtk-icon-size

Details

Gets the stock icon name and icon size being displayed by the image. The gtk-image-type storage type of the image must be the :empty or :stock type, see the gtk-image-storage-type function.

Warning

The gtk-image-get-stock function has been deprecated since version 3.10 and should not be used in newly written code. Use the gtk-image-get-icon-name function instead.
 

See also

2021-12-17