The actual work is usually done via gtk.shortcut_controller.ShortcutController,
which decides if and when to activate a shortcut. Using that controller
directly however is rarely necessary as various higher level
convenience APIs exist on gtk.widget.Widgets that make it easier to use
shortcuts in GTK.
gtk.shortcut.Shortcut does provide functionality to make it easy for users
to work with shortcuts, either by providing informational strings
for display purposes or by allowing shortcuts to be configured.
A gtk.shortcut.Shortcut describes a keyboard shortcut.
It contains a description of how to trigger the shortcut via a gtk.shortcut_trigger.ShortcutTrigger and a way to activate the shortcut on a widget via a gtk.shortcut_action.ShortcutAction.
The actual work is usually done via gtk.shortcut_controller.ShortcutController, which decides if and when to activate a shortcut. Using that controller directly however is rarely necessary as various higher level convenience APIs exist on gtk.widget.Widgets that make it easier to use shortcuts in GTK.
gtk.shortcut.Shortcut does provide functionality to make it easy for users to work with shortcuts, either by providing informational strings for display purposes or by allowing shortcuts to be configured.