This repository has been archived on 2025-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
2024-03-10 11:54:32 +03:00
|
|
|
use gtk4 as gtk;
|
2024-03-10 11:35:02 +03:00
|
|
|
|
2024-03-10 11:54:32 +03:00
|
|
|
use gtk::{Orientation, builders::BoxBuilder, Box};
|
2024-03-10 11:35:02 +03:00
|
|
|
|
2024-03-10 11:54:32 +03:00
|
|
|
#[allow(dead_code)]
|
|
|
|
pub struct Wrapper;
|
2024-03-10 11:35:02 +03:00
|
|
|
|
2024-03-10 11:54:32 +03:00
|
|
|
impl Wrapper{
|
2024-03-10 11:35:02 +03:00
|
|
|
|
2024-03-10 11:54:32 +03:00
|
|
|
pub fn row_builder() -> BoxBuilder {
|
|
|
|
Box::builder().orientation(Orientation::Vertical)
|
2024-03-10 11:35:02 +03:00
|
|
|
}
|
|
|
|
|
2024-03-10 11:54:32 +03:00
|
|
|
pub fn col_builder() -> BoxBuilder {
|
|
|
|
Box::builder().orientation(Orientation::Horizontal)
|
|
|
|
}
|
2024-03-10 11:35:02 +03:00
|
|
|
|
2024-03-10 11:54:32 +03:00
|
|
|
}
|