Shard Detail

libadwaita v1.0.0

libadwaita bindings for Crystal
crystal gtk libadwaita bindings

Install & Use

Add the following code to your project's shard.yml under:

dependencies to use in production
- OR -
development_dependencies to use in development


libadwaita:
  github: GeopJr/libadwaita.cr

Readme

libadwaita.cr logo

libadwaita.cr

libadwaita bindings for Crystal


Code Of Conduct MIT Licensed

screenshot of the an example libadwaita.cr app

Notes

  • This is a fork of gtk4.cr
  • Bindings are being generated using gi-crystal
  • It includes everything gtk4.cr does plus libadwaita which means that it cannot be used with gtk4.cr at the same time
  • The scope of this repo, apart from supporting libadwaita, is being "stable" (so the bindings are pre-bundled rather than being generated on the spot)
  • 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

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