GdkGrabStatus

Returned by Device.grab, gdk_pointer_grab() and gdk_keyboard_grab() to indicate success or the reason for the failure of the grab attempt.

Values

ValueMeaning
SUCCESS0

the resource was successfully grabbed.

ALREADY_GRABBED1

the resource is actively grabbed by another client.

INVALID_TIME2

the resource was grabbed more recently than the specified time.

NOT_VIEWABLE3

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