Function

GdkDevicegrab_info_libgtk_only

deprecated: 3.16 

Declaration [src]

gboolean
gdk_device_grab_info_libgtk_only (
  GdkDisplay* display,
  GdkDevice* device,
  GdkWindow** grab_window,
  gboolean* owner_events
)

Description [src]

Determines information about the current keyboard grab. This is not public API and must not be used by applications.

Deprecated since: 3.16

The symbol was never meant to be used outside of GTK+.

Parameters

display

Type: GdkDisplay

The display for which to get the grab information.

The data is owned by the caller of the function.
device

Type: GdkDevice

Device to get the grab information from.

The data is owned by the caller of the function.
grab_window

Type: GdkWindow

Location to store current grab window.

The argument will be set by the function.
The returned data is owned by the function.
owner_events

Type: gboolean*

Location to store boolean indicating whether the owner_events flag to gdk_keyboard_grab() or gdk_pointer_grab() was TRUE.

The argument will be set by the function.

Return value

Type: gboolean

TRUE if this application currently has the keyboard grabbed.