Property

GtkAction:icon-name

deprecated: 3.10 since: 2.10

Declaration

property icon-name: utf8 [ read, write ]

Description [src]

The name of the icon from the icon theme.

Note that the stock icon is preferred, if the GtkAction:stock-id property holds the id of an existing stock icon, and the GIcon is preferred if the GtkAction:gicon property is set.

This is an appearance property and thus only applies if GtkActivatable:use-action-appearance is TRUE.

Type:gchar*

Available since: 2.10

Deprecated since: 3.10

Use the “icon” attribute on a GMenuItem instead.

Default valueNULL
Getter methodgtk_action_get_icon_name()
Setter methodgtk_action_set_icon_name()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno