/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ pub mod imp; glib::wrapper! { pub struct EchidnaSidebar(ObjectSubclass) @extends gtk::Box, gtk::Widget, @implements gtk::Accessible, gtk::Buildable, gtk::ConstraintTarget, gtk::Orientable; } impl EchidnaSidebar { pub fn new() -> Self { glib::Object::new(&[]).expect("Failed to create 'EchidnaSidebar' component.") } } impl Default for EchidnaSidebar { fn default() -> Self { Self::new() } }