zng_wgt/
wgt.rs

1
2
3
4
5
6
7
8
use crate::prelude::*;

/// Minimal widget.
///
/// You can use this to create a quick new custom widget defined entirely
/// by standalone properties and `when` conditions.
#[widget($crate::Wgt)]
pub struct Wgt(WidgetBase);