[ CCode ( has_construct_function = false ) ]
public Shortcut (owned ShortcutTrigger? trigger, owned ShortcutAction? action)
Creates a new `GtkShortcut` that is triggered by trigger
and then activates action
.
trigger |
The trigger that will trigger the shortcut |
action |
The action that will be activated upon triggering |
a new `GtkShortcut` |