:right-sidebar: True ShortcutsShortcut =================================================================== .. currentmodule:: gi.repository.Gtk .. class:: ShortcutsShortcut(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Gtk.Widget`, :class:`~gi.repository.GObject.InitiallyUnowned`, :class:`~gi.repository.GObject.Object` Implemented Interfaces: :class:`~gi.repository.Gtk.Accessible`, :class:`~gi.repository.Gtk.Buildable`, :class:`~gi.repository.Gtk.ConstraintTarget` A ``GtkShortcutsShortcut`` represents a single keyboard shortcut or gesture with a short text. This widget is only meant to be used with ``GtkShortcutsWindow``. Properties ---------- .. rst-class:: interim-class .. class:: ShortcutsShortcut :no-index: .. attribute:: props.accel_size_group :type: ~gi.repository.Gtk.SizeGroup The type of the None singleton. .. attribute:: props.accelerator :type: str The type of the None singleton. .. attribute:: props.action_name :type: str The type of the None singleton. .. attribute:: props.direction :type: ~gi.repository.Gtk.TextDirection The type of the None singleton. .. attribute:: props.icon :type: ~gi.repository.Gio.Icon The type of the None singleton. .. attribute:: props.icon_set :type: bool The type of the None singleton. .. attribute:: props.shortcut_type :type: ~gi.repository.Gtk.ShortcutType The type of the None singleton. .. attribute:: props.subtitle :type: str The type of the None singleton. .. attribute:: props.subtitle_set :type: bool The type of the None singleton. .. attribute:: props.title :type: str The type of the None singleton. .. attribute:: props.title_size_group :type: ~gi.repository.Gtk.SizeGroup The type of the None singleton.