pub fn horizontal<SelectionMode: Default, Message>(
model: &Model<SelectionMode>,
) -> HorizontalSegmentedButton<'_, SelectionMode, Message>where
Model<SelectionMode>: Selectable,
Expand description
A collection of tabs for developing a tabbed interface.
The data for the widget comes from a model supplied by the application.
For details on the model, see the segmented_button
module for more details.