#![cfg_attr(docsrs, feature(doc_cfg))]
macro_rules! assert_initialized_main_thread {
() => {
if !::gtk::is_initialized_main_thread() {
if ::gtk::is_initialized() {
panic!("GTK may only be used from the main thread.");
} else {
panic!("GTK has not been initialized. Call `gtk::init` first.");
}
}
};
}
macro_rules! skip_assert_initialized {
() => {};
}
pub use ffi;
pub use gdk;
pub use gdk_pixbuf;
pub use gio;
pub use glib;
pub use gtk;
#[allow(clippy::derived_hash_with_manual_eq)]
#[allow(clippy::new_ret_no_self)]
mod auto;
pub use auto::*;
pub mod prelude {
pub use super::auto::traits::*;
}
pub mod builders {
pub use super::auto::builders::*;
}