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 for the name of a stock item, or nil

Details

The accessor for the stock-id slot gets or sets the name of the stock item. The stock-id property only has an effect if not overridden by non-nil label, icon-name, and icon-widget properties.

Warning

This 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

2026-05-31