Function zng_wgt_toggle::checked_opt

source ยท
pub fn checked_opt(
    child: impl UiNode,
    checked: impl IntoVar<Option<bool>>,
) -> impl UiNode
Expand description

P Toggle cycles between Some(true) and Some(false) and accepts None, if the widget is tristate also sets to None in the toggle cycle.