Enumeration

GdkGrabStatus

Declaration

enum Gdk.GrabStatus

Description [src]

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

Members

GDK_GRAB_SUCCESS

The resource was successfully grabbed.

  • Value: 0
  • Available since: 3.0
GDK_GRAB_ALREADY_GRABBED

The resource is actively grabbed by another client.

  • Value: 1
  • Available since: 3.0
GDK_GRAB_INVALID_TIME

The resource was grabbed more recently than the specified time.

  • Value: 2
  • Available since: 3.0
GDK_GRAB_NOT_VIEWABLE

The grab window or the confine_to window are not viewable.

  • Value: 3
  • Available since: 3.0
GDK_GRAB_FROZEN

The resource is frozen by an active grab of another client.

  • Value: 4
  • Available since: 3.0
GDK_GRAB_FAILED

The grab failed for some other reason. Since 3.16.

  • Value: 5
  • Available since: 3.0