Widget.getEvents

int getEvents()

Returns the event mask (see #GdkEventMask) for the widget. These are the events that the widget will receive.

Note

Internally, the widget event mask will be the logical OR of the event

mask set through gtk.widget.Widget.setEvents or gtk.widget.Widget.addEvents, and the event mask necessary to cater for every #GtkEventController created for the widget.

Returns

event mask for widget