ShortcutAction


Object Hierarchy:

Object hierarchy for ShortcutAction

Description:

[ CCode ( type_id = "gtk_shortcut_action_get_type ()" ) ]
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:

GtkShortcutAction as GtkBuildable

GtkShortcut


Namespace: Gtk
Package: gtk4

Content:

Static methods:

Creation methods:

Methods:

Inherited Members: