Package: gtk

Function gtk:widget-device-is-shadowed

Lambda List

gtk:widget-device-is-shadowed (widget device)

Arguments

widget -- a gtk:widget object
device -- a gdk:device object

Return Value

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

Details

Returns true if the 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 "grab-notify" signal to check for specific devices. See the gtk:device-grab-add function.
 

See also

#2023-3-8