Package: gtk

Function gtk-device-grab-add

Lambda List

gtk-device-grab-add (widget device block-others)

Arguments

widget -- a gtk-widget object
device -- a gdk-device object to grab on
block-others -- true to prevent other devices to interact with widget

Details

Adds a grab on the device, so all the events on the device and its associated pointer or keyboard (if any) are delivered to the widget. If the block-others parameter is true, any other devices will be unable to interact with widget during the grab.
 

See also

2020-8-22