Yoda/src/app/browser/header.rs
2024-09-19 11:29:03 +03:00

22 lines
361 B
Rust

#[path = "header/subject.rs"] mod subject;
#[path = "header/tray.rs"] mod tray;
use gtk::HeaderBar;
pub fn new() -> HeaderBar
{
let header = HeaderBar::builder().build();
// Compose childs
header.pack_start(
&tray::new()
);
header.set_title_widget(
Some(
&subject::new()
)
);
return header;
}