Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/AparokshaUI/Libadwaita
An imperative UI framework for GNOME
https://github.com/AparokshaUI/Libadwaita
adwaita gnome gtk libadwaita linux swift
Last synced: 5 days ago
JSON representation
An imperative UI framework for GNOME
- Host: GitHub
- URL: https://github.com/AparokshaUI/Libadwaita
- Owner: AparokshaUI
- License: gpl-3.0
- Archived: true
- Created: 2023-11-26T11:00:31.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-22T21:08:04.000Z (about 1 year ago)
- Last Synced: 2024-01-23T00:13:31.193Z (about 1 year ago)
- Topics: adwaita, gnome, gtk, libadwaita, linux, swift
- Language: Swift
- Homepage:
- Size: 507 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-libadwaita - Libadwaita - Swift abstraction for Libadwaita (Libraries And Frameworks / Swift)
- awesome-libadwaita - Libadwaita - Swift abstraction for Libadwaita (Libraries And Frameworks / Swift)
README
> [!NOTE]
> This project is no longer maintained.
> An alternative is the declarative framework [Adwaita for Swift](https://github.com/AparokshaUI/adwaita-swift).
![]()
Libadwaita
_Libadwaita_ is an imperative UI framework for GNOME.
## Table of Contents
- [Installation](#Installation)
- [Usage](#Usage)
- [Thanks](#Thanks)## Installation
### Dependencies
If you are using a Linux distribution, install `libadwaita-devel` or `libadwaita` (or something similar, based on the package manager) as well as `gtk4-devel`, `gtk4` or similar.On macOS, follow these steps:
1. Install [Homebrew](https://brew.sh).
2. Install Libadwaita (and thereby GTK 4):
```
brew install libadwaita
```### Swift Package
1. Open your Swift package in GNOME Builder, Xcode, or any other IDE.
2. Open the `Package.swift` file.
3. Into the `Package` initializer, under `dependencies`, paste:
```swift
.package(url: "https://github.com/david-swift/Libadwaita", from: "0.1.0")
```## Usage
You can find an example project [here](Tests/main.swift).
I encourage you to use _Libadwaita_ indirectly with the declarative [_Adwaita_ wrapper](https://github.com/david-swift/Adwaita).## Thanks
- The [contributors](Contributors.md), especially [**JCWasmx86**](https://github.com/JCWasmx86) for having started the project
- [SwiftLint](https://github.com/realm/SwiftLint) for checking whether code style conventions are violated
- The programming language [Swift](https://github.com/apple/swift)
- [SourceDocs](https://github.com/SourceDocs/SourceDocs) used for generating the [docs](Documentation/Reference/README.md)
- [Libadwaita](https://gitlab.gnome.org/GNOME/libadwaita) for the widgets