Method

Gdk.Event.get_device

Declaration [src]

GdkDevice*
gdk_event_get_device (
  GdkEvent* event
)

Description [src]

Returns the device of an event.

Return value

Returns: GdkDevice

a GdkDevice.

Ownership is not transferred to the caller
Can be NULL