Widget.deviceIsShadowed

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().

class Widget
bool
deviceIsShadowed

Parameters

device Device

a #GdkDevice

Return Value

Type: bool

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

Meta