Skip to content

GeopJr/libadwaita.cr

Repository files navigation

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.
  • 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

  1. Add the dependency to your shard.yml:

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

Contributing

  1. Read the Code of Conduct
  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