gdk4/
motion_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, MotionEvent};
6
7define_event! {
8    MotionEvent,
9    crate::ffi::GdkMotionEvent,
10    &[EventType::MotionNotify]
11}
12
13impl fmt::Debug for MotionEvent {
14    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
15        f.write_str("MotionEvent")
16    }
17}