Method

GtkWidgetdevice_is_shadowed

since: 3.0

Declaration [src]

gboolean
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

Parameters

device

Type: GdkDevice

A GdkDevice.

The data is owned by the caller of the method.

Return value

Type: gboolean

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