adwaita-swift/Sources/Adwaita/Model/WindowView.swift
david-swift 04c77831b5
Some checks are pending
Deploy Docs / publish (push) Waiting to run
SwiftLint / SwiftLint (push) Waiting to run
Remove Core library
2025-10-30 21:36:13 +01:00

18 lines
393 B
Swift

//
// WindowView.swift
// Adwaita
//
// Created by david-swift on 06.08.24.
//
/// A special view that can access the window of the current instance
/// if located as the first view directly inside a window.
public protocol WindowView: View {
/// Modify the window.
/// - Parameter window: The window.
/// - Returns: The window.
func window(_ window: Window) -> Window
}