#![cfg_attr(docsrs, feature(doc_cfg))]
pub use ffi;
#[doc(hidden)]
pub use gio;
#[doc(hidden)]
pub use glib;
#[doc(hidden)]
pub use gtk;
macro_rules! assert_initialized_main_thread {
() => {
if !::gtk::is_initialized_main_thread() {
if ::gtk::is_initialized() {
panic!("libpanel may only be used from the main thread.");
} else {
panic!("Gtk has to be initialized before using libpanel.");
}
}
};
}
macro_rules! skip_assert_initialized {
() => {};
}
#[allow(unused_imports)]
mod auto;
pub use auto::functions::*;
pub use auto::*;
pub mod builders {
pub use crate::auto::builders::*;
}
pub mod prelude;
pub mod subclass;
mod gsettings_action_group;
mod layered_settings;
pub use crate::layered_settings::LayeredBindingBuilder;
mod menu_manager;
mod save_delegate;
mod session_item;
mod settings;
pub use crate::settings::BindingBuilder;