An open API service indexing awesome lists of open source software.

https://github.com/GeopJr/libadwaita.cr

libadwaita bindings for Crystal
https://github.com/GeopJr/libadwaita.cr

bindings crystal gtk libadwaita

Last synced: 4 months ago
JSON representation

libadwaita bindings for Crystal

Awesome Lists containing this project

README

          

> [!NOTE]
> Development has moved to https://github.com/hugopl/libadwaita.cr. Please update your `shards.yml` file.


libadwaita.cr logo


libadwaita.cr


libadwaita bindings for Crystal





Code Of Conduct
MIT Licensed



screenshot of the an example libadwaita.cr app

# Notes

- Bindings are being generated using [gi-crystal](https://github.com/hugopl/gi-crystal).
- It includes everything [gtk4.cr](https://github.com/hugopl/gtk4.cr) does plus libadwaita.
- Docs can be found on the website listed on the sidebar.

# Dependencies

- ArchLinux: `pacman -S gtk4 gobject-introspection libadwaita`

Other distros will probably require you to manually build libadwaita for now.

# Installation

1. Add the dependency to your `shard.yml`:

```yaml
dependencies:
libadwaita:
github: hugopl/libadwaita.cr
```

2. Run `shards install`
3. Run `./bin/gi-crystal` to generate the bindings

# Usage

Follow the instructions over at [gtk4.cr](https://github.com/hugopl/gtk4.cr) and [gi-crystal](https://github.com/hugopl/gi-crystal) as well as the [examples/](./examples/) folder