ShortcutTrigger
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.
Inheritors
Constructors
Types
The ShortcutTriggerImpl type represents a native instance of the abstract ShortcutTrigger class.
Functions
The types of @trigger1 and @trigger2 are gconstpointer
only to allow use of this function as a GCompareFunc
.
Checks if @trigger1 and @trigger2 trigger under the same conditions.
Prints the given trigger into a string.