Widget.setDeviceEnabled

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).

class Widget
void
setDeviceEnabled

Parameters

device Device
enabled bool

whether to enable the device

Meta