cosmic::widget::segmented_button

Function horizontal

source
pub fn horizontal<SelectionMode: Default, Message>(
    model: &Model<SelectionMode>,
) -> SegmentedButton<'_, Horizontal, SelectionMode, Message>
where Model<SelectionMode>: Selectable,
Expand description

Horizontal implementation of the SegmentedButton.

For details on the model, see the segmented_button module for more details.