ShortcutsShortcut.icon

Get icon property.

  1. gio.icon.Icon icon [@property getter]
    class ShortcutsShortcut
    @property
    icon
    ()
  2. gio.icon.Icon icon [@property setter]

Return Value

Type: gio.icon.Icon

An icon to represent the shortcut or gesture.

This property is used if property@Gtk.ShortcutsShortcut:shortcut-type is set to gtk.types.ShortcutType.Gesture.

For the other predefined gesture types, GTK provides an icon on its own.