public abstract class ShortcutAction : Object
ShortcutAction is the object used to describe what a Shortcut should do when triggered.
To activate a ShortcutAction manually, activate can be called.
ShortcutActions contain functions that allow easy presentation to end users as well as being printed for debugging.
All ShortcutActions 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 Shortcut object.
GTK provides various actions:
- MnemonicAction: a shortcut action that calls mnemonic_activate
- CallbackAction: a shortcut action that invokes a given callback
- SignalAction: a shortcut action that emits a given signal
- ActivateAction: a shortcut action that calls activate
- NamedAction: a shortcut action that calls activate_action
- NothingAction: a shortcut action that does nothing
GtkShortcutAction as GtkBuildable