24 lines
420 B
Rust
24 lines
420 B
Rust
|
pub mod wrapper_module {
|
||
|
|
||
|
use gtk4 as gtk;
|
||
|
|
||
|
use gtk::{Orientation, builders::BoxBuilder, Box};
|
||
|
|
||
|
#[allow(dead_code)]
|
||
|
pub struct Wrapper;
|
||
|
|
||
|
impl Wrapper{
|
||
|
|
||
|
pub fn row_builder() -> BoxBuilder {
|
||
|
Box::builder().orientation(Orientation::Vertical)
|
||
|
}
|
||
|
|
||
|
pub fn col_builder() -> BoxBuilder {
|
||
|
Box::builder().orientation(Orientation::Horizontal)
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|