Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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

bindings crystal gtk libadwaita

Last synced: 5 days ago
JSON representation

libadwaita bindings for Crystal

Awesome Lists containing this project

README

        


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: GeopJr/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

#

## Contributing

1. Read the [Code of Conduct](https://github.com/GeopJr/libadwaita.cr/blob/main/CODE_OF_CONDUCT.md)
2. Fork it ( https://github.com/GeopJr/libadwaita.cr/fork )
3. Create your feature branch (git checkout -b my-new-feature)
4. Commit your changes (git commit -am 'Add some feature')
5. Push to the branch (git push origin my-new-feature)
6. Create a new Pull Request