Declaration [src]

gtk_widget_get_events (
  GtkWidget* widget

Description [src]

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.

Gets propertyGtk.Widget:events

Return value

Type: gint

Event mask for widget.