Yoda/src/browser/main/tab/page/content/mod.rs
2024-09-23 18:51:48 +03:00

19 lines
323 B
Rust

use gtk::{Box, Orientation};
pub struct Content {
widget: Box,
}
impl Content {
// Construct
pub fn new() -> Content {
Self {
widget: Box::builder().orientation(Orientation::Vertical).build(),
}
}
// Getters
pub fn widget(&self) -> &Box {
&self.widget
}
}