Event.getDevice

If the event contains a "device" field, this function will return it, else it will return NULL.

class Event
getDevice
()

Return Value

Type: Device

a GdkDevice, or NULL. [transfer none] Since 3.0

Meta