from gi.repository import Grx key_event = Grx.KeyEvent()
Structure that holds information about a keyboard key event.