Package: gdk
Function gdk:keymap-map-virtual-modifiers
Lambda Listgdk:keymap-map-virtual-modifiers (keymap state) ArgumentsReturn ValueThe gdk:modifier-type value. Details
Maps the virtual modifiers, that is Super, Hyper and Meta, which are set in state to their non-virtual counterparts, that is Mod2, Mod3, ..., and
set the corresponding bits in the return value.
This function is useful when matching key events against accelerators. Example(gdk:keymap-map-virtual-modifiers keymap :super-mask) => (:MOD4-MASK :SUPER-MASK) | See also |
2023-3-4