Action.label

string label() @property

Get label property.

Returns

The label used for menu items and buttons that activate

this action. If the label is null, GTK+ uses the stock label specified via the stock-id property.

This is an appearance property and thus only applies if #GtkActivatable:use-action-appearance is true.

Deprecated

Use the "label" attribute on #GMenuItem instead
void label(string propval) @property

Set label property.

Parameters

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

Deprecated

Use the "label" attribute on #GMenuItem instead