x11-cr
X11 bindings for Crystal language.
Installation
Add this to your application's shard.yml
:
dependencies:
x11:
github: TamasSzekeres/x11-cr
Then run in terminal:
crystal deps
Usage
require "x11"
module YourModule
include X11 # For simpler use
end
For more details see the sample in /examples/sample_window folder.
Sample
Build and run the sample:
cd examples/sample_window
make install
make
./sample_window
Contributing
- Fork it ( https://github.com/TamasSzekeres/x11-cr/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- TamasSzekeres Tamás Szekeres - creator, maintainer