device_grab_add
Description:
[ Version ( since = "3.0" ) ]
public void device_grab_add (Widget widget, Device device, bool block_others)
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.
Parameters:
widget |
a Widget |
device |
a Device to grab on. |
block_others |
true to prevent other devices to interact with |
Namespace: Gtk
Package: gtk+-3.0