Keymap.mapVirtualModifiers

Maps the virtual modifiers (i.e. Super, Hyper and Meta) which are set in state to their non-virtual counterparts (i.e. Mod2, Mod3,...) and set the corresponding bits in state. This function is useful when matching key events against accelerators. Since 2.20

class Keymap
int
mapVirtualModifiers

Parameters

state GdkModifierType

pointer to the modifier state to map. inout

Return Value

Type: int

TRUE if no virtual modifiers were mapped to the same non-virtual modifier. Note that FALSE is also returned if a virtual modifier is mapped to a non-virtual modifier that was already set in state.

Meta