Package: gtk

Accessor gtk-button-label

Lambda List

gtk-button-label (object)

Syntax

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

Arguments

object -- a gtk-button widget
label -- a string with the text of the label

Details

Accessor of the label slot of the gtk-button class.

The gtk-button-label slot access function fetches the text from the label of the button. The (setf gtk-button-label) slot access function sets the text.

If the label text has not been set the return value will be nil. This will be the case if you create an empty button with the gtk-button-new function to use as a container.
 

See also

*2021-12-4