Property

GtkAction:icon-name

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.

Flags

Readableyes
Writableyes
Constructno
Construct onlyno