use glib::object::IsA;
use std::fmt;
glib::wrapper! {
#[doc(alias = "GtkShortcutManager")]
pub struct ShortcutManager(Interface<ffi::GtkShortcutManager, ffi::GtkShortcutManagerInterface>);
match fn {
type_ => || ffi::gtk_shortcut_manager_get_type(),
}
}
pub const NONE_SHORTCUT_MANAGER: Option<&ShortcutManager> = None;
pub trait ShortcutManagerExt: 'static {}
impl<O: IsA<ShortcutManager>> ShortcutManagerExt for O {}
impl fmt::Display for ShortcutManager {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.write_str("ShortcutManager")
}
}