import Gtk /// SPI protocol for containers that host exactly one child widget. /// /// No P0 conformance — declared now for later phases (single-child sugar). @_spi(Portico) @MainActor public protocol SingleChildContainer { /// Attaches or detaches a child widget. func attachChild(_ child: Gtk.Widget?) }