Action.iconName

Set iconName property.

More...
  1. string iconName [@property getter]
  2. string iconName [@property setter]
    class Action
    @property
    void
    iconName
    (
    string propval
    )

Parameters

propval string

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.

Detailed Description

Deprecated: Use the "icon" attribute on a #GMenuItem instead