Function
Gtkdevice_grab_add
since: 3.0
Declaration [src]
void
gtk_device_grab_add (
GtkWidget* widget,
GdkDevice* device,
gboolean block_others
)
Description [src]
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.
Available since: 3.0