KeyvalTrigger.this

Creates a GtkShortcutTrigger that will trigger whenever the key with the given @keyval and @modifiers is pressed.

  1. this(GtkKeyvalTrigger* gtkKeyvalTrigger, bool ownedRef)
  2. this(uint keyval, GdkModifierType modifiers)
    class KeyvalTrigger
    this
    (
    uint keyval
    ,
    GdkModifierType modifiers
    )

Parameters

keyval uint

The keyval to trigger for

modifiers GdkModifierType

the modifiers that need to be present

Return Value

A new GtkShortcutTrigger

Throws

ConstructionException GTK+ fails to create the object.

Meta