Main.deviceGrabAdd

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.

class Main
static
void
deviceGrabAdd

Parameters

widget Widget

a GtkWidget

device Device

a GdkDevice to grab on.

blockOthers int

TRUE to prevent other devices to interact with widget. Since 3.0

Meta