If the event contains a “device” field, this function will return it, else it will return NULL.
a gdk.Device, or NULL.
3.0
If the event contains a “device” field, this function will return it, else it will return NULL.