gtk.mnemonic_trigger

Module for [MnemonicTrigger] class

Types 3

A gtk.shortcut_trigger.ShortcutTrigger that triggers when a specific mnemonic is pressed.

Mnemonics require a mnemonic modifier (typically <kbd>Alt</kbd>) to be pressed together with the mnemonic key.

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

Fluent builder implementation template for gtk.mnemonic_trigger.MnemonicTrigger

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