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