Package: gtk

Function gtk:device-grab-add

Lambda List

gtk:device-grab-add (widget device blocking)

Arguments

widget -- a gtk:widget widget
device -- a gdk:device object to grab on
blocking -- 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 blocking parameter is true, any other devices will be unable to interact with widget during the grab.
 

See also

#2023-3-5