Skip to main content

LiquidSegmentedControl

Function LiquidSegmentedControl 

Source
pub fn LiquidSegmentedControl(
    __arg0: Modifier,
    __arg1: Vec<String>,
    __arg2: usize,
    on_select: impl Fn(usize) + 'static,
)
Expand description

A segmented control. labels are equal-width segments; selected is the active index; on_select receives the committed index. Segments tap AND swipe: dragging slides the indicator with the finger as a glass lens.