TypeScript API Documentation for GTK
API Version: 3.0
Library Version: 3.24.51
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 3.0
Adds a GTK+ grab on device, so all the events on device and its associated pointer or keyboard (if any) are delivered to widget. If the block_others parameter is true, any other devices will be unable to interact with widget during the grab.
device
widget
block_others
true
a Gtk.Widget
a Gdk.Device to grab on.
true to prevent other devices to interact with widget.
3.0
Adds a GTK+ grab on
device, so all the events ondeviceand its associated pointer or keyboard (if any) are delivered towidget. If theblock_othersparameter istrue, any other devices will be unable to interact withwidgetduring the grab.