libadwaita
[!NOTE]
Development has moved to https://github.com/hugopl/libadwaita.cr. Please update yourshards.yml
file.
libadwaita.cr
libadwaita bindings for Crystal
Notes
- Bindings are being generated using gi-crystal.
- It includes everything 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
-
Add the dependency to your
shard.yml
:dependencies: libadwaita: github: hugopl/libadwaita.cr
-
Run
shards install
-
Run
./bin/gi-crystal
to generate the bindings
Usage
Follow the instructions over at gtk4.cr and gi-crystal as well as the examples/ folder