gtk.keyval_trigger

Module for [KeyvalTrigger] class

Types 3

A gtk.shortcut_trigger.ShortcutTrigger that triggers when a specific keyval and modifiers are pressed.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
KeyvalTrigger self() nothrowReturns `this`, for use in `with` statements.
KeyvalTriggerGidBuilder builder() static nothrowGet builder for [gtk.keyval_trigger.KeyvalTrigger] Returns: New builder object
uint keyval() @property nothrowGet `keyval` property. Returns: The key value for the trigger.
gdk.types.ModifierType modifiers() @property nothrowGet `modifiers` property. Returns: The key modifiers for the trigger.
uint getKeyval() nothrowGets the keyval that must be pressed to succeed triggering self. Returns: the keyval
gdk.types.ModifierType getModifiers() nothrowGets the modifiers that must be present to succeed triggering self. Returns: the modifiers
Constructors
this(void * ptr, Flag!"Take" take)
this(uint keyval, gdk.types.ModifierType modifiers)Creates a [gtk.shortcut_trigger.ShortcutTrigger] that will trigger whenever the key with the given keyval and modifiers is pressed.

Fluent builder implementation template for gtk.keyval_trigger.KeyvalTrigger

Methods
T keyval(uint propval) nothrowSet `keyval` property. Params: propval = The key value for the trigger. Returns: Builder instance for fluent chaining
T modifiers(gdk.types.ModifierType propval) nothrowSet `modifiers` property. Params: propval = The key modifiers for the trigger. Returns: Builder instance for fluent chaining
Methods
KeyvalTrigger build() nothrowCreate object from builder. Returns: New object