Shortcut.this

Creates a new GtkShortcut that is triggered by @trigger and then activates @action.

  1. this(GtkShortcut* gtkShortcut, bool ownedRef)
  2. this(ShortcutTrigger trigger, ShortcutAction action)

Parameters

trigger ShortcutTrigger

The trigger that will trigger the shortcut

action ShortcutAction

The action that will be activated upon triggering

Return Value

a new GtkShortcut

Throws

ConstructionException GTK+ fails to create the object.

Meta