| Value | Meaning |
|---|---|
| Success0 | the resource was successfully grabbed. |
| AlreadyGrabbed1 | the resource is actively grabbed by another client. |
| InvalidTime2 | the resource was grabbed more recently than the specified time. |
| NotViewable3 | the grab window or the @confine_to window are not viewable. |
| Frozen4 | the resource is frozen by an active grab of another client. |
| Failed5 | the grab failed for some other reason. Since 3.16 |
Returned by gdk.device.Device.grab, gdk.global.pointerGrab and gdk.global.keyboardGrab to indicate success or the reason for the failure of the grab attempt.