Method

GtkWidgetget_device_events

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 GdkDevice
 

A GdkDevice.

 The data is owned by the caller of the function.

Return value

Returns: GdkEventMask
 

Device event mask for widget.