<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <linklocation="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
<summary>Grabs the keyboard so that all events are passed to this application until the keyboard is ungrabbed with <seecref="M:Gdk.Keyboard.Grab"/>. This overrides any previous keyboard grab by this client.</summary>
<paramname="window">the <seecref="T:Gdk.Window"/> which will own the grab (the grab window).</param>
<paramname="owner_events">if false 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.</param>
<paramname="time_">a timestamp from a <seecref="T:Gdk.Event"/> or <seecref="M:Gdk.EventDND.Time"/> if no timestamp is available.</param>
<returns>a <seecref="M:Gdk.GrabStatus.Success"/> if the grab was successful.</returns>
<remarks>Documentation for this section has not yet been entered.</remarks>