libadwaita 0.1.0-alpha

Rust bindings for libadwaita
// Re-export the -sys bindings
pub use ffi;
#[doc(hidden)]
pub use gtk;

/// Asserts that this is the main thread and `gtk::init` has been called.
macro_rules! assert_initialized_main_thread {
    () => {
        if !::gtk::is_initialized_main_thread() {
            if ::gtk::is_initialized() {
                panic!("libadwaita may only be used from the main thread.");
            } else {
                panic!("Gtk has to be initialized before using libadwaita.");
            }
        }
    };
}

macro_rules! skip_assert_initialized {
    () => {};
}

#[allow(unused_imports)]
#[allow(clippy::let_and_return)]
#[allow(clippy::type_complexity)]
mod auto;

mod combo_row;
mod tab_bar;
pub use combo_row::ComboRowBuilder;

pub use auto::functions::*;
pub use auto::*;

pub mod subclass;

pub mod prelude;