Gtk.Widget.prototype.device_is_shadowed
function device_is_shadowed(device:Gdk.Device):Boolean { // Gjs wrapper for gtk_widget_device_is_shadowed() }
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 Gtk.grab-notify signal to check for specific devices. See device_grab_add.
Since 3.0
- device
- Returns
true if there is an ongoing grab on device by another Gtk.Widget than widget.