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

32 lines
No EOL
507 B
Rust

#[path = "subject/title.rs"] mod title;
#[path = "subject/description.rs"] mod description;
use gtk::Box;
use gtk::prelude::BoxExt;
pub fn new() -> Box
{
let subject = Box::builder()
// Tuneup
.orientation(
gtk::Orientation::Vertical
)
.valign(
gtk::Align::Center
)
.build();
// Compose childs
subject.append(
&title::new()
);
subject.append(
&description::new()
);
return subject;
}