Method

GtkActionset_icon_name

deprecated: 3.10 since: 2.16

Declaration [src]

void
gtk_action_set_icon_name (
  GtkAction* action,
  const gchar* icon_name
)

Description [src]

Sets the icon name on action.

Available since: 2.16

Deprecated since: 3.10

Use GAction instead, and g_menu_item_set_icon() to set an icon on a GMenuItem associated with a GAction, or gtk_container_add() to add a GtkImage to a GtkButton.

Sets propertyGtk.Action:icon-name

Parameters

icon_name

Type: const gchar*

The icon name to set.

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