1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#![cfg_attr(feature = "dox", feature(doc_cfg))]
#![deny(warnings)]
#![allow(clippy::single_component_path_imports)]
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 {
() => {};
}
#[allow(unused_imports)]
use gtk; mod auto;
pub use auto::functions::*;
pub use auto::*;
mod manual;
pub use manual::*;