Package: gtk

Accessor gtk-tool-button-stock-id

Lambda List

gtk-tool-button-stock-id (object)

Syntax

(gtk-tool-button-stock-id object) => stock-id
(setf (gtk-tool-button-stock-id object) stock-id)

Arguments

object -- a gtk-tool-button widget
stock-id -- a string with the name of a stock item, or nil

Details

Accessor of the stock-id slot of the gtk-tool-button class.

The gtk-tool-button-stock-id slot access function returns the name of the stock item. The (setf gtk-tool-button-stock-id) slot access function sets the name.

The stock-id property only has an effect if not overridden by non-nil label, icon-name, and icon-widget properties.

Warning

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

See also

2021-11-30