Action.getLabel

string getLabel()

Gets the label text of action.

Returns

the label text

Deprecated

Use #GAction instead, and get a label from a menu item

with [gio.menu_item.MenuItem.getAttributeValue]. For #GtkActionable widgets, use the widget-specific API to get a label