Declaration [src]

gtk_widget_device_is_shadowed (
  GtkWidget* widget,
  GdkDevice* device

Description [src]

Returns TRUE if device has been shadowed by a GTK+ device grab on another widget, so it would stop sending events to widget. This may be used in the GtkWidget::grab-notify signal to check for specific devices. See gtk_device_grab_add().

Available since:3.0


device GdkDevice

A GdkDevice.

 The data is owned by the caller of the function.

Return value

Returns: gboolean

TRUE if there is an ongoing grab on device by another GtkWidget than widget.