KeyvalTrigger


Description:

[ CCode ( has_construct_function = false , type = "GtkShortcutTrigger*" ) ]
public KeyvalTrigger (uint keyval, ModifierType modifiers)

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

Parameters:

keyval

The keyval to trigger for

modifiers

the modifiers that need to be present

Returns:

A new `GtkShortcutTrigger`