Returned by Device.grab, gdk_pointer_grab() and gdk_keyboard_grab() to indicate success or the reason for the failure of the grab attempt.
the resource was successfully grabbed.
the resource is actively grabbed by another client.
the resource was grabbed more recently than the specified time.
the grab window or the confine_to window are not viewable.
the resource is frozen by an active grab of another client.
the grab failed for some other reason. Since 3.16