Class
GtkShortcutAction
Description [src]
abstract class Gtk.ShortcutAction : GObject.Object
{
/* No available fields */
}
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, gtk_shortcut_action_activate()
can be called.
GTK provides various actions:
GtkMnemonicAction
: a shortcut action that callsgtk_widget_mnemonic_activate()
GtkCallbackAction
: a shortcut action that invokes a given callbackGtkSignalAction
: a shortcut action that emits a given signalGtkActivateAction
: a shortcut action that callsgtk_widget_activate()
GtkNamedAction
: a shortcut action that callsgtk_widget_activate_action()
GtkNothingAction
: a shortcut action that does nothing.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.