GdkEventMask gtk_widget_get_device_events ( GtkWidget* widget, GdkDevice* device )
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.
Available since: 3.0
The data is owned by the caller of the function.