#![cfg_attr(docsrs, feature(doc_cfg))]
#![allow(clippy::needless_doctest_main)]
#![doc(
html_logo_url = "https://raw.githubusercontent.com/tau-OS/libbismuth/main/assets/Bismuth.svg",
html_favicon_url = "https://raw.githubusercontent.com/tau-OS/libbismuth/main/assets/Bismuth-sym.svg"
)]
pub use ffi;
pub use gdk;
pub use gio;
pub use glib;
pub use gtk;
macro_rules! assert_initialized_main_thread {
() => {
if !::gtk::is_initialized_main_thread() {
if ::gtk::is_initialized() {
panic!("libbismuth may only be used from the main thread.");
} else {
panic!("Gtk has to be initialized before using libbismuth.");
}
}
};
}
macro_rules! skip_assert_initialized {
() => {};
}
#[allow(unused_imports)]
#[allow(clippy::let_and_return)]
#[allow(clippy::type_complexity)]
mod auto;
pub use auto::*;
pub mod builders;
pub mod prelude;
pub mod subclass;