Widget.getDeviceEvents

gdk.types.EventMask getDeviceEvents(gdk.device.Device device)

Returns the events mask for the widget corresponding to an specific device. These are the events that the widget will receive when device operates on it.

Parameters

devicea #GdkDevice

Returns

device event mask for widget