Function

Gtkget_current_event_device

Declaration [src]

GdkDevice*
gtk_get_current_event_device (
  void
)

Description [src]

If there is a current event and it has a device, return that device, otherwise return NULL.

Return value

Type: GdkDevice

A GdkDevice, or NULL.

The data is owned by the called function.
The return value can be NULL.