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
KeyvalTriggerGidBuilder builder() static nothrowGet builder for [gtk.keyval_trigger.KeyvalTrigger] Returns: New builder objectgdk.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 keyvalgdk.types.ModifierType getModifiers() nothrowGets the modifiers that must be present to succeed triggering self. Returns: the modifiersConstructors
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 chainingT modifiers(gdk.types.ModifierType propval) nothrowSet `modifiers` property. Params: propval = The key modifiers for the trigger. Returns: Builder instance for fluent chainingFluent builder for gtk.keyval_trigger.KeyvalTrigger
Methods