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

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

Details

Accessor of the label slot of the gtk:tool-button class. The gtk:tool-button-label function returns the label used by the tool button, or nil if the tool button does not have a label or uses a label from a stock item. The (setf gtk:tool-button-label) function sets the label.

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

2024-1-2