mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-17 10:10:02 +00:00
21 lines
363 B
Rust
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
|
|
} |