cosmic::widget::segmented_button

Function vertical

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

Vertical implementation of the SegmentedButton.

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