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