Gtk Documentation
»
Gtk.get_current_event_device
If there is a current event and it has a device, return that device, otherwise return %NULL.
More About
Gtk Documentation