Shortcut.this

Creates a new gtk.shortcut.Shortcut that is triggered by trigger and then activates action.

Parameters

trigger gtk.shortcut_trigger.ShortcutTrigger

The trigger that will trigger the shortcut

action gtk.shortcut_action.ShortcutAction

The action that will be activated upon triggering

Return Value