Marquis Kurt ac2dbadedb
Some checks failed
SwiftLint / SwiftLint (pull_request) Has been cancelled
Add Symbol view
A symbol view is used to display an symbolic icon at an arbitrary
size. It is a typealias to the Image class from GTK.
2025-10-23 22:54:27 -04:00

20 lines
370 B
Swift

//
// Symbol.swift
// Adwaita
//
// Created by Marquis Kurt on 23.10.25.
//
/// A view that display a symbolic image.
public typealias Symbol = Image
extension Symbol {
/// Initialize a symbolic image view.
/// - Parameter icon: The icon to display in the view.
public init(icon: Icon) {
self.init()
self.iconName = icon.string
}
}