forked from aparoksha/adwaita-swift
- Fix build optional in ViewBuilder - Fix maximum size frame modifier - Improve inspector wrapper - Improve header bar - Improve status page - Improve the naming of some elements
678 B
678 B
STRUCT
List
A list box widget.
Properties
elements
The elements.
content
The content.
selection
The identifier of the selected element.
Methods
init(_:selection:content:)
Initialize List.
- Parameters:
- elements: The elements.
- selection: The identifier of the selected element.
- content: The view for an element.
update(_:)
Update a view storage.
- Parameter storage: The view storage.
container()
Get a view storage.
- Returns: The view storage.
updateSelection(box:)
Update the list's selection.
- Parameter box: The list box.
sidebarStyle()
Add the "navigation-sidebar" style class.