ShortcutTrigger


Object Hierarchy:

Object hierarchy for ShortcutTrigger

Description:

[ CCode ( type_id = "gtk_shortcut_trigger_get_type ()" ) ]
public abstract class ShortcutTrigger : Object

`GtkShortcutTrigger` tracks how a `GtkShortcut` should be activated.

To find out if a `GtkShortcutTrigger` triggers, you can call [method@Gtk.ShortcutTrigger.trigger] on a `GdkEvent`.

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

All `GtkShortcutTriggers` are immutable, you can only specify their properties during construction. If you want to change a trigger, you have to replace it with a new one.


Namespace: Gtk
Package: gtk4

Content:

Static methods:

Creation methods:

Methods:

Inherited Members: