- Bindings are being generated using gi-crystal.
- It includes everything gtk4.cr does plus libadwaita.
- ArchLinux:
pacman -S gtk4 gobject-introspection libadwaita
Other distros will probably require you to manually install libadwaita development packages somehow.
-
Add the dependency to your
shard.yml
:dependencies: libadwaita: github: hugopl/libadwaita.cr
-
Run
shards install
-
Run
./bin/gi-crystal
to generate the bindings
Follow the instructions over at gtk4.cr and gi-crystal as well as the examples/ folder
- Fork it ( https://github.com/hugopl/libadwaita.cr/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request