gdkKeyboardUngrab.
This overrides any previous keyboard grab by this client.gdkKeyboardGrab(window, owner.events = FALSE, time = "GDK_CURRENT_TIME")windowGdkWindow which will own the grab (the grab window).owner.eventsFALSE then all keyboard events are reported with respect to
window. If TRUE then keyboard events for this application are reported as
normal, but keyboard events outside this application are reported with respect
to window. Both key press and key release events are always reported,
independant of the event mask set by the application.timeGdkEvent, or GDK_CURRENT_TIME if no timestamp is
available.GdkGrabStatus] GDK_GRAB_SUCCESS if the grab was successful.GdkEventGrabBroken events that
are emitted when the grab ends unvoluntarily.