2021-11-08 10:43:08 +00:00
|
|
|
/* 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/. */
|
|
|
|
|
2021-10-28 10:11:14 +00:00
|
|
|
pub mod imp;
|
|
|
|
|
|
|
|
glib::wrapper! {
|
|
|
|
pub struct EchidnaSidebar(ObjectSubclass<imp::EchidnaSidebar>)
|
|
|
|
@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.")
|
|
|
|
}
|
|
|
|
}
|
2021-12-18 10:17:15 +00:00
|
|
|
|
|
|
|
impl Default for EchidnaSidebar {
|
|
|
|
fn default() -> Self {
|
|
|
|
Self::new()
|
|
|
|
}
|
|
|
|
}
|