cosmic::widget::tab_bar

Function vertical

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

A collection of tabs for developing a tabbed interface.

The data for the widget comes from a model that is maintained the application. For details on the model, see the segmented_button module for more details.