X11.keymapGetGroupForState

Extracts the group from the state field sent in an X Key event. This is only needed for code processing raw X events, since GdkEventKey directly includes an is_modifier field.

class X11
static
int
keymapGetGroupForState

Parameters

keymap Keymap

a GdkX11Keymap

state uint

raw state returned from X

Return Value

Type: int

the index of the active keyboard group for the event Since 3.6

Meta