Can you try to set the can-focus property on the event box to True, and then call Gtk.Widget.grab_focus():
event_box.set_can_focus(True)
def on_mapped(window):
event_box.grab_focus()
window.connect('mapped', on_mapped)
Key events are delivered only to the widgets that have key focus.