Macro gstore::title_bar[][src]

macro_rules! title_bar {
    (
        $($text:tt)*
    ) => { ... };
}

gstore macro for the libhandy TitleBar

See Also

Examples

TODO: compile this as soon as docs.rs can handle libhandy

# #[macro_use]
# extern crate gstore;
# use gstore::prelude::*;
# use gtk::prelude::*;
#
# fn main() {
title_bar! {
    children [
        header_bar! {
            properties {
                title: "Test Application"
            }
            children [
                button! {
                    children [
                        image!("format-justify-fill-symbolic", gtk::IconSize::Button)
                    ]
                }
            ]
        }
    ]
};
# }