Shortcut.this

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

  1. this(void* ptr, Flag!"Take" take)
  2. this(gtk.shortcut_trigger.ShortcutTrigger trigger, gtk.shortcut_action.ShortcutAction 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