Method

GtkActionget_icon_name

Declaration [src]

const gchar*
gtk_action_get_icon_name (
  GtkAction* action
)

Description [src]

Gets the icon name of action.

Available since:2.16
Deprecated since:3.10

Use GAction instead, and g_menu_item_get_attribute_value() to get an icon from a GMenuItem associated with a GAction.

Gets propertyGtk.Action:icon-name

Return value

Type: const gchar*

The icon name.

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