adwaita-swift/Documentation/Reference/structs/NavigationSplitView.md
david-swift 4937c36b3b Improve updating performance
And update docs reflecting the changes in the latest commits
2024-01-27 08:07:05 +01:00

843 B

STRUCT

NavigationSplitView

A navigation split view widget.

Properties

sidebar

The sidebar's content.

content

The split view's main content.

sidebarID

The sidebar content's id.

contentID

The main content's id.

Methods

init(sidebar:content:)

Initialize a navigation split view.

  • Parameters:
    • sidebar: The sidebar content.
    • content: The main content.

container(modifiers:)

Get the container of the navigation split view widget.

  • Parameter modifiers: Modify views before being updated.
  • Returns: The view storage.

update(_:modifiers:updateProperties:)

Update the view storage of the navigation split view widget.

  • Parameters:
    • storage: The view storage.
    • modifiers: Modify views before being updated.
    • updateProperties: Whether to update properties.