Package: gtk

Accessor gtk:tool-button-label

Lambda List

gtk:tool-button-label (object)

Syntax

(gtk:tool-button-label object) => label
(setf (gtk:tool-button-label object) label)

Arguments

object -- a gtk:tool-button widget
label -- a string that will be used as label, or nil

Details

The accessor for the label slot gets or sets the label used by the tool button. If nil the tool button does not have a label or uses a label from a stock item.

The label property only has an effect if not overridden by a non-nil label-widget property. If both the label-widget and label properties are nil, the label is determined by the stock-id property. If the stock-id property is also nil, the tool button will not have a label.
 

See also

2026-05-31