pub fn radio_button<T>(
represented_value: T,
actual_value: impl Fn() -> T + 'static,
) -> ValueContainer<T>Expand description
Renders a radio button that appears as selected if the signal equals the given enum value.
Can be combined with a label and a stack with a click event (as in examples/widget-gallery).