gdk4/auto/snapshot.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 /// Base type for snapshot operations.
9 ///
10 /// The subclass of [`Snapshot`][crate::Snapshot] used by GTK is [GtkSnapshot](../gtk4/class.Snapshot.html).
11 ///
12 /// This is an Abstract Base Class, you cannot instantiate it.
13 #[doc(alias = "GdkSnapshot")]
14 pub struct Snapshot(Object<ffi::GdkSnapshot, ffi::GdkSnapshotClass>);
15
16 match fn {
17 type_ => || ffi::gdk_snapshot_get_type(),
18 }
19}
20
21impl Snapshot {
22 pub const NONE: Option<&'static Snapshot> = None;
23}