tristate

Function tristate 

Source
pub fn tristate(child: impl IntoUiNode, enabled: impl IntoVar<bool>) -> UiNode
Expand description

P Enables None as an input value.

Note that None is always accepted in checked_opt, this property controls if None is one of the values in the toggle cycle. If the widget is bound to the checked property this config is ignored.

This is not enabled by default.