macro_rules! header_bar {
(
titled $title:expr
) => { ... };
(
$($text:tt)*
) => { ... };
}
gstore macro for the GTK HeaderBar
header_bar! {
properties {
title: "Test Application"
}
children [
button! {
children [
image!("format-justify-fill-symbolic", gtk::IconSize::Button)
]
}
]
};