mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
19 lines
323 B
Rust
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
|
|
}
|
|
}
|