zng_wgt_toggle

Function is_checked

Source
pub fn is_checked(child: impl UiNode, state: impl IntoVar<bool>) -> impl UiNode
Expand description

P If the toggle is checked from any of the three primary properties.

Note to read the tristate directly use IS_CHECKED_VAR directly.