gtk4/auto/
shortcut_manager.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;
6use glib::prelude::*;
7
8glib::wrapper! {
9    #[doc(alias = "GtkShortcutManager")]
10    pub struct ShortcutManager(Interface<ffi::GtkShortcutManager, ffi::GtkShortcutManagerInterface>);
11
12    match fn {
13        type_ => || ffi::gtk_shortcut_manager_get_type(),
14    }
15}
16
17impl ShortcutManager {
18    pub const NONE: Option<&'static ShortcutManager> = None;
19}
20
21mod sealed {
22    pub trait Sealed {}
23    impl<T: super::IsA<super::ShortcutManager>> Sealed for T {}
24}
25
26pub trait ShortcutManagerExt: IsA<ShortcutManager> + sealed::Sealed + 'static {}
27
28impl<O: IsA<ShortcutManager>> ShortcutManagerExt for O {}