Method

GtkActionset_label

deprecated: 3.10 since: 2.16

Declaration [src]

void
gtk_action_set_label (
  GtkAction* action,
  const gchar* label
)

Description [src]

Sets the label of action.

Available since: 2.16

Deprecated since: 3.10

Use GAction instead, and set a label on a menu item with g_menu_item_set_label(). For GtkActionable widgets, use the widget-specific API to set a label.

Sets propertyGtk.Action:label

Parameters

label

Type: const gchar*

The label text to set.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.