Method

GtkActionget_label

deprecated: 3.10 since: 2.16

Declaration [src]

const gchar*
gtk_action_get_label (
  GtkAction* action
)

Description [src]

Gets the label text of action.

Available since: 2.16

Deprecated since: 3.10

Use GAction instead, and get a label from a menu item with g_menu_item_get_attribute_value(). For GtkActionable widgets, use the widget-specific API to get a label.

Gets propertyGtk.Action:label

Return value

Type: const gchar*

The label text.

The returned data is owned by the instance.
The value is a NUL terminated UTF-8 string.