Method

GtkWidgetadd_device_events

since: 3.0

Declaration [src]

void
gtk_widget_add_device_events (
  GtkWidget* widget,
  GdkDevice* device,
  GdkEventMask events
)

Description [src]

Adds the device events in the bitfield events to the event mask for widget. See gtk_widget_set_device_events() for details.

Available since: 3.0

Parameters

device

Type: GdkDevice

A GdkDevice.

The data is owned by the caller of the method.
events

Type: GdkEventMask

An event mask, see GdkEventMask.