Add internal initializer to autogeneration
This commit is contained in:
parent
90e8c78163
commit
7eb2bf7bb2
@ -2,7 +2,7 @@
|
|||||||
// ActionRow.swift
|
// ActionRow.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// AspectFrame.swift
|
// AspectFrame.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// Avatar.swift
|
// Avatar.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// Banner.swift
|
// Banner.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// Bin.swift
|
// Bin.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// Box.swift
|
// Box.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
@ -59,7 +59,7 @@ public struct Box: AdwaitaWidget {
|
|||||||
var prepend: () -> Body = { [] }
|
var prepend: () -> Body = { [] }
|
||||||
|
|
||||||
/// Initialize `Box`.
|
/// Initialize `Box`.
|
||||||
public init(spacing: Int) {
|
init(spacing: Int) {
|
||||||
self.spacing = spacing
|
self.spacing = spacing
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// Button.swift
|
// Button.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
@ -61,7 +61,7 @@ public struct Button: AdwaitaWidget {
|
|||||||
var clicked: (() -> Void)?
|
var clicked: (() -> Void)?
|
||||||
|
|
||||||
/// Initialize `Button`.
|
/// Initialize `Button`.
|
||||||
public init() {
|
init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The view storage.
|
/// The view storage.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// ButtonContent.swift
|
// ButtonContent.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// Carousel.swift
|
// Carousel.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// CenterBox.swift
|
// CenterBox.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// CheckButton.swift
|
// CheckButton.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// Clamp.swift
|
// Clamp.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// ComboRow.swift
|
// ComboRow.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
@ -112,7 +112,7 @@ public struct ComboRow: AdwaitaWidget {
|
|||||||
var prefix: () -> Body = { [] }
|
var prefix: () -> Body = { [] }
|
||||||
|
|
||||||
/// Initialize `ComboRow`.
|
/// Initialize `ComboRow`.
|
||||||
public init() {
|
init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The view storage.
|
/// The view storage.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// DropDown.swift
|
// DropDown.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
@ -76,7 +76,7 @@ public struct DropDown: AdwaitaWidget {
|
|||||||
var activate: (() -> Void)?
|
var activate: (() -> Void)?
|
||||||
|
|
||||||
/// Initialize `DropDown`.
|
/// Initialize `DropDown`.
|
||||||
public init() {
|
init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The view storage.
|
/// The view storage.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// Entry.swift
|
// Entry.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
@ -266,7 +266,7 @@ public struct Entry: AdwaitaWidget {
|
|||||||
var removeWidget: (() -> Void)?
|
var removeWidget: (() -> Void)?
|
||||||
|
|
||||||
/// Initialize `Entry`.
|
/// Initialize `Entry`.
|
||||||
public init() {
|
init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The view storage.
|
/// The view storage.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// EntryRow.swift
|
// EntryRow.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
@ -83,7 +83,7 @@ public struct EntryRow: AdwaitaWidget {
|
|||||||
var prefix: () -> Body = { [] }
|
var prefix: () -> Body = { [] }
|
||||||
|
|
||||||
/// Initialize `EntryRow`.
|
/// Initialize `EntryRow`.
|
||||||
public init() {
|
init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The view storage.
|
/// The view storage.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// ExpanderRow.swift
|
// ExpanderRow.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// Fixed.swift
|
// Fixed.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// FlowBox.swift
|
// FlowBox.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// HeaderBar.swift
|
// HeaderBar.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// Image.swift
|
// Image.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// Label.swift
|
// Label.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// LevelBar.swift
|
// LevelBar.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// LinkButton.swift
|
// LinkButton.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// ListBox.swift
|
// ListBox.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// Menu.swift
|
// Menu.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
@ -86,7 +86,7 @@ public struct Menu: AdwaitaWidget {
|
|||||||
var activate: (() -> Void)?
|
var activate: (() -> Void)?
|
||||||
|
|
||||||
/// Initialize `Menu`.
|
/// Initialize `Menu`.
|
||||||
public init() {
|
init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The view storage.
|
/// The view storage.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// NavigationView.swift
|
// NavigationView.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
@ -101,7 +101,7 @@ public struct NavigationView: AdwaitaWidget {
|
|||||||
var replaced: (() -> Void)?
|
var replaced: (() -> Void)?
|
||||||
|
|
||||||
/// Initialize `NavigationView`.
|
/// Initialize `NavigationView`.
|
||||||
public init() {
|
init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The view storage.
|
/// The view storage.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// Overlay.swift
|
// Overlay.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// OverlaySplitView.swift
|
// OverlaySplitView.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
@ -107,7 +107,7 @@ public struct OverlaySplitView: AdwaitaWidget {
|
|||||||
var sidebarWidthFraction: Double?
|
var sidebarWidthFraction: Double?
|
||||||
|
|
||||||
/// Initialize `OverlaySplitView`.
|
/// Initialize `OverlaySplitView`.
|
||||||
public init() {
|
init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The view storage.
|
/// The view storage.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// PasswordEntryRow.swift
|
// PasswordEntryRow.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
@ -77,7 +77,7 @@ public struct PasswordEntryRow: AdwaitaWidget {
|
|||||||
var prefix: () -> Body = { [] }
|
var prefix: () -> Body = { [] }
|
||||||
|
|
||||||
/// Initialize `PasswordEntryRow`.
|
/// Initialize `PasswordEntryRow`.
|
||||||
public init() {
|
init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The view storage.
|
/// The view storage.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// Picture.swift
|
// Picture.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// Popover.swift
|
// Popover.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// PreferencesGroup.swift
|
// PreferencesGroup.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
@ -49,7 +49,7 @@ public struct PreferencesGroup: AdwaitaWidget {
|
|||||||
var child: () -> Body = { [] }
|
var child: () -> Body = { [] }
|
||||||
|
|
||||||
/// Initialize `PreferencesGroup`.
|
/// Initialize `PreferencesGroup`.
|
||||||
public init() {
|
init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The view storage.
|
/// The view storage.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// PreferencesPage.swift
|
// PreferencesPage.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// PreferencesRow.swift
|
// PreferencesRow.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// ProgressBar.swift
|
// ProgressBar.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
@ -66,7 +66,7 @@ public struct ProgressBar: AdwaitaWidget {
|
|||||||
var text: String?
|
var text: String?
|
||||||
|
|
||||||
/// Initialize `ProgressBar`.
|
/// Initialize `ProgressBar`.
|
||||||
public init() {
|
init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The view storage.
|
/// The view storage.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// ScrolledWindow.swift
|
// ScrolledWindow.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
@ -140,7 +140,7 @@ public struct ScrolledWindow: AdwaitaWidget {
|
|||||||
var scrollChild: (() -> Void)?
|
var scrollChild: (() -> Void)?
|
||||||
|
|
||||||
/// Initialize `ScrolledWindow`.
|
/// Initialize `ScrolledWindow`.
|
||||||
public init() {
|
init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The view storage.
|
/// The view storage.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// SearchBar.swift
|
// SearchBar.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// SearchEntry.swift
|
// SearchEntry.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// Separator.swift
|
// Separator.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// SpinRow.swift
|
// SpinRow.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// Spinner.swift
|
// Spinner.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// SplitButton.swift
|
// SplitButton.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// StatusPage.swift
|
// StatusPage.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// SwitchRow.swift
|
// SwitchRow.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// ToastOverlay.swift
|
// ToastOverlay.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
@ -33,7 +33,7 @@ public struct ToastOverlay: AdwaitaWidget {
|
|||||||
var child: Body?
|
var child: Body?
|
||||||
|
|
||||||
/// Initialize `ToastOverlay`.
|
/// Initialize `ToastOverlay`.
|
||||||
public init() {
|
init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The view storage.
|
/// The view storage.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// ToggleButton.swift
|
// ToggleButton.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
@ -72,7 +72,7 @@ public struct ToggleButton: AdwaitaWidget {
|
|||||||
var toggled: (() -> Void)?
|
var toggled: (() -> Void)?
|
||||||
|
|
||||||
/// Initialize `ToggleButton`.
|
/// Initialize `ToggleButton`.
|
||||||
public init() {
|
init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The view storage.
|
/// The view storage.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// ToggleGroup.swift
|
// ToggleGroup.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
@ -78,7 +78,7 @@ public struct ToggleGroup: AdwaitaWidget {
|
|||||||
var nToggles: Binding<UInt>?
|
var nToggles: Binding<UInt>?
|
||||||
|
|
||||||
/// Initialize `ToggleGroup`.
|
/// Initialize `ToggleGroup`.
|
||||||
public init() {
|
init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The view storage.
|
/// The view storage.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// ToolbarView.swift
|
// ToolbarView.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
// WindowTitle.swift
|
// WindowTitle.swift
|
||||||
// Adwaita
|
// Adwaita
|
||||||
//
|
//
|
||||||
// Created by auto-generation on 03.11.25.
|
// Created by auto-generation on 04.11.25.
|
||||||
//
|
//
|
||||||
|
|
||||||
import CAdw
|
import CAdw
|
||||||
|
|||||||
@ -22,7 +22,7 @@ extension Class {
|
|||||||
) -> String {
|
) -> String {
|
||||||
let requiredProperties = properties(namespace: namespace, configurations: configs)
|
let requiredProperties = properties(namespace: namespace, configurations: configs)
|
||||||
.filter { config.requiredProperties.contains($0.name) }
|
.filter { config.requiredProperties.contains($0.name) }
|
||||||
var initializer = "public init("
|
var initializer = "\(config.internalInitializer ? "" : "public ")init("
|
||||||
if config.dynamicWidget != nil {
|
if config.dynamicWidget != nil {
|
||||||
initializer.append("_ elements: [Element], ")
|
initializer.append("_ elements: [Element], ")
|
||||||
}
|
}
|
||||||
|
|||||||
@ -27,6 +27,7 @@ struct Property: Decodable {
|
|||||||
/// Whether the property is deprecated.
|
/// Whether the property is deprecated.
|
||||||
var deprecated: Bool?
|
var deprecated: Bool?
|
||||||
|
|
||||||
|
/// Whether the property is itself a view.
|
||||||
var isView: Bool {
|
var isView: Bool {
|
||||||
(self.type?.isWidget ?? false) || (self.type?.isMenu ?? false)
|
(self.type?.isWidget ?? false) || (self.type?.isMenu ?? false)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
// swiftlint:disable type_body_length
|
// swiftlint:disable type_body_length file_length
|
||||||
|
|
||||||
/// The configuration for the generation.
|
/// The configuration for the generation.
|
||||||
struct GenerationConfiguration {
|
struct GenerationConfiguration {
|
||||||
@ -86,7 +86,8 @@ struct GenerationConfiguration {
|
|||||||
excludeProperties: [
|
excludeProperties: [
|
||||||
"expression", "factory", "list-factory", "model", "selected-item", "header-factory", "search-match-mode"
|
"expression", "factory", "list-factory", "model", "selected-item", "header-factory", "search-match-mode"
|
||||||
],
|
],
|
||||||
cast: true
|
cast: true,
|
||||||
|
internalInitializer: true
|
||||||
),
|
),
|
||||||
.init(
|
.init(
|
||||||
class: "ExpanderRow",
|
class: "ExpanderRow",
|
||||||
@ -105,12 +106,14 @@ struct GenerationConfiguration {
|
|||||||
.init(name: "prefix", add: "adw_entry_row_add_prefix")
|
.init(name: "prefix", add: "adw_entry_row_add_prefix")
|
||||||
],
|
],
|
||||||
excludeProperties: ["attributes", "input-hints", "input-purpose"],
|
excludeProperties: ["attributes", "input-hints", "input-purpose"],
|
||||||
cast: true
|
cast: true,
|
||||||
|
internalInitializer: true
|
||||||
),
|
),
|
||||||
.init(
|
.init(
|
||||||
class: "PasswordEntryRow",
|
class: "PasswordEntryRow",
|
||||||
excludeProperties: ["attributes", "input-hints", "input-purpose"],
|
excludeProperties: ["attributes", "input-hints", "input-purpose"],
|
||||||
cast: true
|
cast: true,
|
||||||
|
internalInitializer: true
|
||||||
),
|
),
|
||||||
.init(
|
.init(
|
||||||
class: "SpinRow",
|
class: "SpinRow",
|
||||||
@ -122,7 +125,8 @@ struct GenerationConfiguration {
|
|||||||
.init(
|
.init(
|
||||||
class: "PreferencesGroup",
|
class: "PreferencesGroup",
|
||||||
staticWidgets: [.init(name: "child", add: "adw_preferences_group_add")],
|
staticWidgets: [.init(name: "child", add: "adw_preferences_group_add")],
|
||||||
cast: true
|
cast: true,
|
||||||
|
internalInitializer: true
|
||||||
),
|
),
|
||||||
.init(
|
.init(
|
||||||
class: "PreferencesPage",
|
class: "PreferencesPage",
|
||||||
@ -135,7 +139,8 @@ struct GenerationConfiguration {
|
|||||||
.init(
|
.init(
|
||||||
class: "OverlaySplitView",
|
class: "OverlaySplitView",
|
||||||
bindings: [.init(property: "show-sidebar")],
|
bindings: [.init(property: "show-sidebar")],
|
||||||
excludeProperties: ["sidebar-position", "sidebar-width-unit"]
|
excludeProperties: ["sidebar-position", "sidebar-width-unit"],
|
||||||
|
internalInitializer: true
|
||||||
),
|
),
|
||||||
.init(
|
.init(
|
||||||
class: "HeaderBar",
|
class: "HeaderBar",
|
||||||
@ -152,7 +157,7 @@ struct GenerationConfiguration {
|
|||||||
.init(name: "top", add: "adw_toolbar_view_add_top_bar")
|
.init(name: "top", add: "adw_toolbar_view_add_top_bar")
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
.init(class: "ToastOverlay"),
|
.init(class: "ToastOverlay", internalInitializer: true),
|
||||||
.init(
|
.init(
|
||||||
class: "SplitButton",
|
class: "SplitButton",
|
||||||
excludeProperties: ["direction", "popover"],
|
excludeProperties: ["direction", "popover"],
|
||||||
@ -160,13 +165,15 @@ struct GenerationConfiguration {
|
|||||||
),
|
),
|
||||||
.init(
|
.init(
|
||||||
class: "NavigationView",
|
class: "NavigationView",
|
||||||
excludeProperties: ["navigation-stack", "visible-page"]
|
excludeProperties: ["navigation-stack", "visible-page"],
|
||||||
|
internalInitializer: true
|
||||||
),
|
),
|
||||||
.init(class: "Spinner"),
|
.init(class: "Spinner"),
|
||||||
.init(
|
.init(
|
||||||
class: "ToggleGroup",
|
class: "ToggleGroup",
|
||||||
bindings: [.init(property: "active"), .init(property: "active-name"), .init(property: "n-toggles")],
|
bindings: [.init(property: "active"), .init(property: "active-name"), .init(property: "n-toggles")],
|
||||||
excludeProperties: ["toggles"]
|
excludeProperties: ["toggles"],
|
||||||
|
internalInitializer: true
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -196,7 +203,8 @@ struct GenerationConfiguration {
|
|||||||
],
|
],
|
||||||
requiredProperties: ["spacing"],
|
requiredProperties: ["spacing"],
|
||||||
excludeProperties: ["baseline-position", "orientation"],
|
excludeProperties: ["baseline-position", "orientation"],
|
||||||
cast: true
|
cast: true,
|
||||||
|
internalInitializer: true
|
||||||
),
|
),
|
||||||
.init(class: "LevelBar", excludeProperties: ["mode", "orientation"]),
|
.init(class: "LevelBar", excludeProperties: ["mode", "orientation"]),
|
||||||
.init(
|
.init(
|
||||||
@ -208,19 +216,21 @@ struct GenerationConfiguration {
|
|||||||
),
|
),
|
||||||
excludeProperties: ["selection-mode", "tab-behavior"]
|
excludeProperties: ["selection-mode", "tab-behavior"]
|
||||||
),
|
),
|
||||||
.init(class: "ProgressBar", excludeProperties: ["ellipsize", "orientation"]),
|
.init(class: "ProgressBar", excludeProperties: ["ellipsize", "orientation"], internalInitializer: true),
|
||||||
.init(
|
.init(
|
||||||
class: "Button",
|
class: "Button",
|
||||||
excludeProperties: excludeButtons,
|
excludeProperties: excludeButtons,
|
||||||
cast: true,
|
cast: true,
|
||||||
setConditions: ["label": "storage.content[\"child\"] == nil"]
|
setConditions: ["label": "storage.content[\"child\"] == nil"],
|
||||||
|
internalInitializer: true
|
||||||
),
|
),
|
||||||
.init(
|
.init(
|
||||||
class: "ToggleButton",
|
class: "ToggleButton",
|
||||||
bindings: [.init(property: "active")],
|
bindings: [.init(property: "active")],
|
||||||
excludeProperties: ["group"] + excludeButtons,
|
excludeProperties: ["group"] + excludeButtons,
|
||||||
cast: true,
|
cast: true,
|
||||||
setConditions: ["label": "storage.content[\"child\"] == nil"]
|
setConditions: ["label": "storage.content[\"child\"] == nil"],
|
||||||
|
internalInitializer: true
|
||||||
),
|
),
|
||||||
.init(
|
.init(
|
||||||
class: "LinkButton",
|
class: "LinkButton",
|
||||||
@ -255,14 +265,16 @@ struct GenerationConfiguration {
|
|||||||
"secondary-icon-storage-type",
|
"secondary-icon-storage-type",
|
||||||
"tabs"
|
"tabs"
|
||||||
],
|
],
|
||||||
cast: true
|
cast: true,
|
||||||
|
internalInitializer: true
|
||||||
),
|
),
|
||||||
.init(
|
.init(
|
||||||
class: "MenuButton",
|
class: "MenuButton",
|
||||||
name: "Menu",
|
name: "Menu",
|
||||||
bindings: [.init(property: "active")],
|
bindings: [.init(property: "active")],
|
||||||
excludeProperties: ["direction", "popover"] + excludeButtons,
|
excludeProperties: ["direction", "popover"] + excludeButtons,
|
||||||
setConditions: ["label": "storage.content[\"child\"] == nil"]
|
setConditions: ["label": "storage.content[\"child\"] == nil"],
|
||||||
|
internalInitializer: true
|
||||||
),
|
),
|
||||||
.init(
|
.init(
|
||||||
class: "CenterBox",
|
class: "CenterBox",
|
||||||
@ -286,7 +298,8 @@ struct GenerationConfiguration {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
]
|
],
|
||||||
|
internalInitializer: true
|
||||||
),
|
),
|
||||||
.init(class: "Overlay", staticWidgets: [.init(name: "overlay", add: "gtk_overlay_add_overlay")]),
|
.init(class: "Overlay", staticWidgets: [.init(name: "overlay", add: "gtk_overlay_add_overlay")]),
|
||||||
.init(class: "Popover", excludeProperties: ["pointing-to", "position"], cast: true),
|
.init(class: "Popover", excludeProperties: ["pointing-to", "position"], cast: true),
|
||||||
@ -330,7 +343,8 @@ struct GenerationConfiguration {
|
|||||||
"model",
|
"model",
|
||||||
"search-match-mode",
|
"search-match-mode",
|
||||||
"selected-item"
|
"selected-item"
|
||||||
]
|
],
|
||||||
|
internalInitializer: true
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -384,4 +398,4 @@ struct GenerationConfiguration {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// swiftlint:enable type_body_length
|
// swiftlint:enable type_body_length file_length
|
||||||
|
|||||||
@ -36,6 +36,8 @@ struct WidgetConfiguration {
|
|||||||
var lastProperties: [String] = []
|
var lastProperties: [String] = []
|
||||||
/// Manually add setters which do not follow common practices.
|
/// Manually add setters which do not follow common practices.
|
||||||
var setters: [String] = []
|
var setters: [String] = []
|
||||||
|
/// Whether the initializer of the widget should not be public in Swift.
|
||||||
|
var internalInitializer = false
|
||||||
|
|
||||||
/// The configuration for a binding.
|
/// The configuration for a binding.
|
||||||
struct BindingConfiguration {
|
struct BindingConfiguration {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user