Method
GdkKeymapmap_virtual_modifiers
since: 2.20
Declaration [src]
gboolean
gdk_keymap_map_virtual_modifiers (
GdkKeymap* keymap,
GdkModifierType* state
)
Description [src]
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.
Available since: 2.20
Parameters
state
-
Type:
GdkModifierType
Pointer to the modifier state to map.
The argument will be modified by the function. The caller of the method takes ownership of the returned data, and is responsible for freeing it.