Method

GdkEventget_device

Declaration [src]

GdkDevice*
gdk_event_get_device (
  GdkEvent* event
)

Description [src]

Returns the device of an event.

Return value

Type: GdkDevice

A GdkDevice.

The returned data is owned by the instance.
The return value can be NULL.