Property

GtkAction:gicon

Declaration

property gicon: Gio.Icon [ read, write ]

Description [src]

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.

Type: GIcon
Available since:2.16
Deprecated since:3.10

Use the “icon” attribute on a GMenuItem instead.

Flags

Readableyes
Writableyes
Constructno
Construct onlyno