Method

GtkWidgetget_device_events

since: 3.0

Declaration [src]

GdkEventMask
gtk_widget_get_device_events (
  GtkWidget* widget,
  GdkDevice* device
)

Description [src]

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

Parameters

device

Type: GdkDevice

A GdkDevice.

The data is owned by the caller of the method.

Return value

Type: GdkEventMask

Device event mask for widget.