Action.gicon

gio.icon.Icon gicon() @property

Get gicon property.

Returns

The #GIcon displayed in the #GtkAction.

Note that the stock icon is preferred, if the #GtkAction:stock-id property holds the id of an existing stock icon.

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 gicon(gio.icon.Icon propval) @property

Set gicon property.

Parameters

propvalThe #GIcon displayed in the #GtkAction. Note that the stock icon is preferred, if the #GtkAction:stock-id property holds the id of an existing stock icon. 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