Gtk.Widget.prototype.get_device_events

function get_device_events(device:Gdk.Device):Gdk.EventMask {
    // Gjs wrapper for gtk_widget_get_device_events()
}

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.

Since 3.0

device

a Gdk.Device

Returns

device event mask for widget