Grx.Event.prototype.get_modifiers
function get_modifiers(): Grx.ModifierFlags {
// Gjs wrapper for grx_event_get_modifiers()
}
Gets the modifier keys for the event.
Events that do not support modifier keys will always return `0`.
- Returns
the modifier keys (as bit flags)