gdk4/
proximity_event.rs

1// Take a look at the license at the top of the repository in the LICENSE file.
2
3use std::fmt;
4
5use crate::{EventType, ProximityEvent};
6
7define_event! {
8    ProximityEvent,
9    crate::ffi::GdkProximityEvent,
10    &[EventType::ProximityIn, EventType::ProximityOut]
11}
12
13impl fmt::Debug for ProximityEvent {
14    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
15        f.write_str("ProximityEvent")
16    }
17}