libadwaita

Version, currently 0.1.01 version
  • 0.1.0latestNov 22, 2024

github.com/hugopl/libadwaita.cr

libadwaita bindings for Crystal

2 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  libadwaita:
    github: hugopl/libadwaita.cr
    version: ~> 0.1.0

Then run:

shards install

shard.yml

Crystal
>= 1.0.0
License
MIT
Authors
Hugo Parente Lima, Evangelos "GeopJr" Paterakis

Dependencies

Runtime Dependencies

  • gtk4>= 0.17.0github: hugopl/gtk4.cr

README

Notes

  • Bindings are being generated using gi-crystal.
  • It includes everything gtk4.cr does plus libadwaita.

Dependencies

  • ArchLinux: pacman -S gtk4 gobject-introspection libadwaita

Other distros will probably require you to manually install libadwaita development packages somehow.

Installation

  1. Add the dependency to your shard.yml:

    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 and gi-crystal as well as the examples/ folder

Contributing

  1. Fork it ( https://github.com/hugopl/libadwaita.cr/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request