david-swift d8de611510 Add support for auto-generated widget bindings
Additionally fix an update problem occurring with custom views
2024-01-22 21:45:31 +01:00

20 lines
292 B
Swift

//
// Text.swift
// Adwaita
//
// Created by david-swift on 23.08.23.
//
/// A text widget.
public typealias Text = Label
extension Text {
/// Initialize a text widget.
/// - Parameter text: The content.
public init(_ text: String) {
self.init(label: text)
}
}