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.
Skipped during bindings generation
method
to_string
: C function gtk_shortcut_trigger_to_string is ignored
Inheritors
Constructors
Functions
Link copied to clipboard
The types of @trigger1 and @trigger2 are gconstpointer
only to allow use of this function as a GCompareFunc
.
Link copied to clipboard
Checks if @trigger1 and @trigger2 trigger under the same conditions.
Link copied to clipboard
open fun printLabel(display: <Error class: unknown class>, string: <Error class: unknown class>): Boolean
Prints the given trigger into a string.