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

21 lines
363 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();
header.pack_start(
&tray::new()
);
header.set_title_widget(
Some(
&subject::new()
)
);
header
}