Function gtk::current_event_device[][src]

pub fn current_event_device() -> Option<Device>
Expand description

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

Returns

a gdk::Device, or None