Method

GtkActionget_gicon

deprecated: 3.10 since: 2.16

Declaration [src]

GIcon*
gtk_action_get_gicon (
  GtkAction* action
)

Description [src]

Gets the gicon 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:gicon

Return value

Type: GIcon

The action’s GIcon if one is set.

The returned data is owned by the instance.