Package: gtk
Accessor gtk:shortcut-controller-mnemonic-modifiers
Lambda Listgtk:shortcut-controller-mnemonic-modifiers (object) SyntaxArgumentsDetails The accessor for the mnemonic-modifiers slot of the gtk:shortcut-controller class gets or sets the modifiers that
need to be pressed to allow mnemonics activation. The mnemonics modifiers determines which modifiers need to be pressed to allow activation of shortcuts with mnemonics triggers. GTK normally uses the Alt modifier for mnemonics, except in gtk:popover-menu widgets, where mnemonics can be triggered without any modifiers. It should be very rarely necessary to change this, and doing so is likely to interfere with other shortcuts. This value is only relevant for local shortcut controllers. Global and managed shortcut controllers will have their shortcuts activated from other places which have their own modifiers for activating mnemonics. | See also |
2025-09-24