Package: gtk

Accessor gtk:action-label

Lambda List

gtk:action-label (object)

Syntax

(gtk:action-label object) => label
(setf (gtk:action-label object) label)

Arguments

object -- a gtk:action object
label -- a string with the label text to set

Details

Accessor of the label slot of the gtk:action class. The gtk:action-label function gets the label text of the action. The (setf gtk:action-label) function sets the label.

The label used for menu items and buttons that activate this action. If the label is nil, GTK uses the stock label specified via the stock-id property. This is an appearance property and thus only applies if the use-action-appearance property is true.

Warning

The gtk:action-label function has been deprecated since version 3.10 and should not be used in newly written code.
 

See also

2024-9-26