Device.getModifierState

gdk.types.ModifierType getModifierState()

Retrieves the current modifier state of the keyboard.

This is only relevant for keyboard devices.

Returns

the current modifier state