gdk4/auto/event_sequence.rs
1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from gir-files (https://github.com/gtk-rs/gir-files)
3// DO NOT EDIT
4
5use crate::ffi;
6
7glib::wrapper! {
8 /// [`EventSequence`][crate::EventSequence] is an opaque type representing a sequence
9 /// of related touch events.
10 #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
11 pub struct EventSequence(Boxed<ffi::GdkEventSequence>);
12
13 match fn {
14 copy => |ptr| glib::gobject_ffi::g_boxed_copy(ffi::gdk_event_sequence_get_type(), ptr as *mut _) as *mut ffi::GdkEventSequence,
15 free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::gdk_event_sequence_get_type(), ptr as *mut _),
16 type_ => || ffi::gdk_event_sequence_get_type(),
17 }
18}