widgem 0.0.1

A lightweight cross-platform desktop widget toolkit
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use {
    super::{Widget, WidgetBaseOf},
    crate::impl_widget_base,
};

pub struct Column {
    // TODO: add layout options
    base: WidgetBaseOf<Self>,
}

impl Widget for Column {
    impl_widget_base!();

    fn new(base: WidgetBaseOf<Self>) -> Self {
        Self { base }
    }
}