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