ShortcutsShortcut.icon

gio.icon.Icon icon() @property

Get icon property.

Returns

An icon to represent the shortcut or gesture. This property is used if

#GtkShortcutsShortcut:shortcut-type is set to #GTK_SHORTCUT_GESTURE. For the other predefined gesture types, GTK+ provides an icon on its own.

void icon(gio.icon.Icon propval) @property

Set icon property.

Parameters

propvalAn icon to represent the shortcut or gesture. This property is used if #GtkShortcutsShortcut:shortcut-type is set to #GTK_SHORTCUT_GESTURE. For the other predefined gesture types, GTK+ provides an icon on its own.