Enables or disables a gdk.Device to interact with widget and all its children.
It does so by descending through the gdk.Window hierarchy and enabling the same mask that is has for core events (i.e. the one that Window.getEvents returns).
a gdk.Device
whether to enable the device
3.0
Enables or disables a gdk.Device to interact with widget and all its children.
It does so by descending through the gdk.Window hierarchy and enabling the same mask that is has for core events (i.e. the one that Window.getEvents returns).