libadwaita.cr v0.1.0

forked from GeopJr/libadwaita.cr
libadwaita bindings for Crystal

libadwaita.cr

libadwaita bindings for Crystal

screenshot of the an example libadwaita.cr app

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
Repository

libadwaita.cr

Owner
Statistic
  • 1
  • 0
  • 0
  • 2
  • 1
  • 5 months ago
  • January 15, 2022
License

MIT License

Links
Synced at

Thu, 08 May 2025 09:52:46 GMT

Languages