GtkShortcutAction

gtk.shortcut_action.ShortcutAction encodes an action that can be triggered by a keyboard shortcut.

GtkShortcutActions contain functions that allow easy presentation to end users as well as being printed for debugging.

All GtkShortcutActions are immutable, you can only specify their properties during construction. If you want to change a action, you have to replace it with a new one. If you need to pass arguments to an action, these are specified by the higher-level gtk.shortcut.Shortcut object.

To activate a gtk.shortcut_action.ShortcutAction manually, gtk.shortcut_action.ShortcutAction.activate can be called.

GTK provides various actions:

struct GtkShortcutAction