deviceGrabAdd
fn
void deviceGrabAdd(gtk.widget.Widget widget, gdk.device.Device device, bool blockOthers)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 #GtkWidget |
device | a #GdkDevice to grab on. |
blockOthers | true to prevent other devices to interact with widget. |