Widget.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_set_events() or gtk_widget_add_events(), and the event mask necessary to cater for every #GtkEventController created for the widget.

class Widget
int
getEvents
()

Return Value

Type: int

event mask for @widget

Meta