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 Widget.setEvents or Widget.addEvents, and the event mask necessary to cater for every gtk.EventController created for the widget.

class Widget

Return Value

Type: int

event mask for widget