Method

GtkActionget_gicon

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 data is owned by the instance.