Action.iconName

string iconName() @property

Get iconName property.

Returns

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.

Deprecated

Use the "icon" attribute on a #GMenuItem instead
void iconName(string propval) @property

Set iconName property.

Parameters

propvalThe 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.

Deprecated

Use the "icon" attribute on a #GMenuItem instead