Package org.gnome.gtk

Class ShortcutAction

java.lang.Object
All Implemented Interfaces:
Proxy
Direct Known Subclasses:
ActivateAction, CallbackAction, MnemonicAction, NamedAction, NothingAction, ShortcutAction.ShortcutActionImpl, SignalAction

@Generated("io.github.jwharm.JavaGI") public abstract class ShortcutAction extends GObject
GtkShortcutAction 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 GtkShortcut object.

To activate a GtkShortcutAction manually, activate(java.util.Set<org.gnome.gtk.ShortcutActionFlags>, org.gnome.gtk.Widget, org.gnome.glib.Variant) can be called.

GTK provides various actions: